endpoint.getEndpointConfiguration().setConnectionFactory(connectionFactory);
MessageCorrelator correlator = new DefaultMessageCorrelator();
endpoint.getEndpointConfiguration().setCorrelator(correlator);
JmsMessage requestMessage = new JmsMessage("")
.setReplyTo(replyDestination);
context.saveCorrelationKey(requestMessage.getId(), endpoint.createConsumer());
Map<String, Object> headers = new HashMap<String, Object>();
final Message message = new DefaultMessage("<TestRequest><Message>Hello World!</Message></TestRequest>", headers);
reset(jmsTemplate, connectionFactory, messageProducer, connection, session);