I am trying to leverage lrmp so i can avoid to run any jms server.
i modified my code so the topic connection is factored by the MulticastTopicConnectionFactory using 126.96.36.199 port 1024
When i try to publish a message i got the following exception:
com.ubermq.jms.client.JMSIOException: output operation failed
If there something i need to care about when dealing with mulicast connection instead of unicast ?
Thanks in advance.
public class SimpleMulticastTest
private static TopicConnectionFactory topicConnectionFactory = null;
private static TopicConnection topicConnection = null;
private static TopicSession topicSession = null;
private static Topic cacheTopic = null;
private static TopicPublisher topicPublisher = null;
public static void main(String args)
topicConnectionFactory = new MulticastTopicConnectionFactory("188.8.131.52",5555);
topicConnection = topicConnectionFactory.createTopicConnection();
topicSession = topicConnection.createTopicSession(false,Session.AUTO_ACKNOWLEDGE);
cacheTopic = topicSession.createTopic("cacheTopic");
topicPublisher = topicSession.createPublisher(cacheTopic);
Message message = topicSession.createMessage();
catch (JMSException e)
This was a bug in the LRMP implementation. It is fixed now, and I released UberMQ 1.0.1, which contains the fix.
The sources have a JUnit test case that you can run in order to check that things are working on your network.
Good luck, and let me know if you run into any other problems.
Thanks a lot it works perfectly now
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.