No longer passing the destination in the producer.send(..) method since it is already provided when the Session's createProducer(..) method is invoked. JMS providers can throw an UnsupportedOperationException when the Destination is provided in both places (INT-560).
This commit is contained in:
@@ -157,7 +157,7 @@ public class ChannelPublishingJmsMessageListener implements SessionAwareMessageL
|
||||
jmsReply.setJMSCorrelationID(jmsMessage.getJMSMessageID());
|
||||
}
|
||||
MessageProducer producer = session.createProducer(jmsMessage.getJMSReplyTo());
|
||||
producer.send(jmsMessage.getJMSReplyTo(), jmsReply);
|
||||
producer.send(jmsReply);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user