Skip to content
Permalink
Browse files
Applied patch for TRANSPORTS-48.
  • Loading branch information
Sagara Gunathunga committed Mar 6, 2012
1 parent 2b79ac3 commit bdd3c513d7eac74da5181d09122295651bcb6509
Showing 1 changed file with 6 additions and 2 deletions.
@@ -332,8 +332,12 @@ public JMSMessageSender createJMSSender() throws JMSException {
} else if (JMSConstants.DESTINATION_TYPE_TOPIC.equals(destinationType)) {
destType = JMSConstants.TOPIC;
tConFac = (TopicConnectionFactory) connectionFactory;
}

} else{
//treat jmsdestination type=queue(default is queue)
destType = JMSConstants.QUEUE;
qConFac = (QueueConnectionFactory) connectionFactory;
}

Connection connection = null;
if (user != null && pass != null) {
if (qConFac != null) {

0 comments on commit bdd3c51

Please sign in to comment.