'How to set transformation for JmsTemplate

I need to set Transformation( String s) before enqueue to Oracle AQ. I have send details using JmsTemplate.where I am not able to see any method to do so

private static final String QUEUENAME_WRITE = "SA.CLFY_EVENT_Q";

private AQEnqueueOptions aqEnqueueOptions;


@Bean
/**
 * Spring bean to WRITE/SEND/ENQUEUE messages on a queue with a certain name
 */
public JmsTemplate jmsTemplate(@Qualifier("clifyConnectionFactory")ConnectionFactory conFactory) {
    JmsTemplate jmsTemplate = new JmsTemplate();
    jmsTemplate.setDefaultDestinationName(QUEUENAME_WRITE);
    jmsTemplate.setSessionTransacted(true);
    jmsTemplate.setConnectionFactory(conFactory);
    jmsTemplate.setPubSubDomain(true);
    jmsTemplate.setMessageConverter(new MappingAdtMessageConverter(new EventMapper()));
    return jmsTemplate;
}


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source