[jboss-user] [JBoss Messaging] - Interoperability C# Clients
linnuxxy
do-not-reply at jboss.com
Mon Jul 23 22:37:46 EDT 2007
ActiveMQ and Tibco provides interoperability with C# client throw Spring.NET Messaging APIs.
I tried ActiveMQ and it worked just fine. The code looked like this:
ActiveMQ.ConnectionFactory factory =
new ConnectionFactory("tcp://localhost:61616");
connection = (Connection)factory.CreateConnection();
session = (Session)
connection.CreateSession
(NMS.AcknowledgementMode.AutoAcknowledge);
topic = session.GetTopic("topictest.messages");
publisher = session.CreateProducer(topic);
IMessageConsumer consumer =session.CreateConsumer(topic);
consumer.Listener+=new MessageListener(consumer_Listener);
I managed to produce jboss-messaging-client.dll using ikvmc...
Everything should work with C# once I manage to get connection to the broker...
I cant find ConnectionFactory in the jboss-messaging-client APIs and I dont know how to use JDNI in C# if that is possible.
How can I over come this?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066872#4066872
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066872
More information about the jboss-user
mailing list