In this example we want to read one message froom one queue (request-queue) put some header on it and send uppercase response to reply queue (response-queue). Following is Integration diagram.
Following is configuration file
Folloiwng is util bean.
Now send message from activemq web console.
Following is what you receive on response channel.