/** * Appends the JMS headers from the Camel {@link JmsMessage} */ public void appendJmsProperties(Message jmsMessage, Exchange exchange) throws JMSException { appendJmsProperties(jmsMessage, exchange, exchange.getIn()); }
/** * Converts the inbound message exchange to an ActiveMQ JMS message * * @return the ActiveMQ message */ @Converter public ActiveMQMessage toMessage(Exchange exchange) throws JMSException { ActiveMQMessage message = createActiveMQMessage(exchange); getBinding().appendJmsProperties(message, exchange); return message; }
/** * Converts the inbound message exchange to an ActiveMQ JMS message * * @return the ActiveMQ message */ @Converter public ActiveMQMessage toMessage(Exchange exchange) throws JMSException { ActiveMQMessage message = createActiveMQMessage(exchange); getBinding().appendJmsProperties(message, exchange); return message; }
appendJmsProperties(answer, exchange, camelMessage);