THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
In the next sample we have a more common use-case where we expose a TCP service on port 6201 also using the textline codec. However this time we want to return a response so we add the sync=true option on the consumer. Notice: that we must also remember to append the \n
in the OUT response to indicate end-of-data.
Wiki Markup |
---|
{snippet:id=e3|lang=java|url=activemq/camel/trunk/components/camel-mina/src/test/java/org/apache/camel/component/mina/MinaConsumerTest.java} |
...