...
XML DSP Transform Example
The Transform option is a specific type of processor that allows us to define a specific response that will be transmitted back to the sender. In the following example, we can see the use of a transform to return a string constant of “Acknowledged” as a response once we have successfully have copied the message to a queue.
Code Block |
---|
<route> <from uri="mina:tcp://localhost:8888?textline=true"/> <to uri="jms:queue:order:in"/> <transform> <constant>Acknowledged</constant> </transform> </route> |