Apache Camel should be able to help. It has great transformation capabilities and can run right within ActiveMQ. Working with Sonics multipart messages may be a bit tricky, however.
Torsten Mielke [email protected] [email protected] On Sep 26, 2011, at 9:10 PM, vasanthdharmaraj wrote: > I have a setup where ActiveMQ starts up in-memory in Websphere using the vm > protocol. (vm:broker:(tcp://localhost:61616,network)?persistent=false). I > have setup a connection factory too in Webspehere admin console. This works > fine. > > Now I want this broker to transform a Sonic MultiPart message > (progress.message.jimpl.xmessage.MultipartMessage) to a regular JMS message. > I found that in ActiveMQ I can set a MessageTransformer > (http://activemq.apache.org/message-transformation.html) to do this. The > documentation says "To use a MessageTransformer you can install it on one of > the following classes via the setTransformer() method > ActiveMQConnectionFactory > ActiveMQConnection > ActiveMQSession > ActiveMQMessageConsumer > ActiveMQMessageProducer". > > In my setup the ActiveMQConnection is created in the Admin Console. The > application uses JNDI lookup to get this. The application uses the > javax.jms.Connection Interface and is not aware that this is a > ActiveMQConnection. > > My question is that is there a way to set the MessageTransformer in the > Admin Console or in a activemq.xml? > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Websphere-ActiveMQ-MessageTransformer-tp3844984p3844984.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
