views:

228

answers:

0

I get the impression, that ActiveMQ can be consumed as a WCF binding, but examples are hard to come by. Can anyone point out an example where ActiveMQ is used as the protocol for a WCF service?

I found this link, but no answers.... http://stackoverflow.com/questions/490799/apache-nms-wcf

--- UPDATE --- Ok, I am getting closer. But now I am getting an error saying: The CustomBinding on the ServiceEndpoint with contract 'IService1' lacks a TransportBindingElement. Every binding must have at least one binding element that derives from TransportBindingElement.

Here is my configuration...

[services] [service name="WcfServiceLibrary1.Service1" behaviorConfiguration="WcfServiceLibrary1.Service1Behavior"] [endpoint name="nmsServiceEndpoint" address="tcp://localhost:61616" binding="nmsBinding" bindingConfiguration="defaultNmsBinding" contract="WcfServiceLibrary1.IService1" /] [/service] [/services]

[bindings] [nmsBinding] [binding name="defaultNmsBinding" destination="TestApacheNMSQueue" destinationType="Queue"/] [/nmsBinding] [/bindings]

[extensions] [bindingExtensions] [add name="nmsBinding" type="Apache.NMS.WCF.NmsBindingCollection, Apache.NMS.WCF, Version=1.1.0.1642, Culture=neutral, PublicKeyToken=82756feee3957618" /] [/bindingExtensions] [/extensions]