Fooling around with JMS through ACC.
I'm creating a durable subscriber with the code:
TopicSubscriber topicSub = topicSession.createDurableSubscriber(topic, "app");
topicSub.setMessageListener(new TestSpecListener());
When I run the application I get the following exception:
SEVERE: null
javax.jms.JMSException: [C4053]: Invalid client ID - ""
at com.sun.messaging.jmq.jmsclient.UnifiedSessionImpl.checkClientIDWithBroker(UnifiedSessionImpl.java:650)
at com.sun.messaging.jmq.jmsclient.UnifiedSessionImpl.createDurableSubscriber(UnifiedSessionImpl.java:351)
at com.sun.messaging.jms.ra.SessionAdapter.createDurableSubscriber(SessionAdapter.java:351)
I thought I had set the id to "app" in the code above... What's going on? What to do?
[Message sent by forum member 'slingblade' (slingblade)]
http://forums.java.net/jive/thread.jspa?messageID=257268