if (generateFreshCorrId) {
// we append the 'Camel-' prefix to know it was generated by us
in.setHeader("JMSCorrelationID", GENERATED_CORRELATION_ID_PREFIX + getUuidGenerator().generateUuid());
}
MessageCreator messageCreator = new MessageCreator() {
public Message createMessage(Session session) throws JMSException {
Message answer = endpoint.getBinding().makeJmsMessage(exchange, in, session, null);
// get the reply to destination to be used from the reply manager
Destination replyTo = replyManager.getReplyTo();