Hi, I have a standalone ActiveMQ client which I'm trying to get to send a TextMessage to a GlassFish queue so that it can be consumed by a MDB. What is the procedure required to do this? I tried using the standard mechanism of:
String serverUrl="tcp://<host>:<port>/"; ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory( serverUrl ); QueueConnection queueConnection = ((QueueConnectionFactory)factory).createQueueConnection(); QueueSession senderSession = queueConnection.createQueueSession(false,Session.AUTO_ACKNOWLEDGE); Queue requestQueue = senderSession.createQueue("testQueue"); QueueSender sender = senderSession.createSender(requestQueue); queueConnection.start(); This doesn't appear to work. Any help would be greatly appreciated. Thanks, S.D. -- View this message in context: http://www.nabble.com/ActiveMQ-TextMessage-to-GlassFish-Queue-tf3534521s2354.html#a9865743 Sent from the ActiveMQ - User mailing list archive at Nabble.com.