activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From commonman002 <commonman...@yahoo.com>
Subject JMSTemplate.Send is not sending messages to queue
Date Wed, 01 Jul 2015 13:31:49 GMT
In the following code, messages are not sent to queue. It looks JmsTemplate
is not creating session.

jmsTemplate.send(new MessageCreator()
                {
                        public Message createMessage(Session session) throws
JMSException
                        {
                                TextMessage message =
session.createTextMessage(msg);
                                return message;
                        }
                });

If any one has come across such issue, please provide the resolution for the
same. Thanks for the help.



--
View this message in context: http://activemq.2283324.n4.nabble.com/JMSTemplate-Send-is-not-sending-messages-to-queue-tp4698440.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Mime
View raw message