On Thu, Mar 22, 2012 at 9:00 AM, sambardar <sanjay_ambar...@yahoo.com> wrote:
> it is just a test for now. kpigeneratorBean simply sets a test message "From
> KPI Bean" in the body of the message.
>
> Basically it has just 1 line:  e.getOut().setBody("From KPI Bean"); In fact
> if i route the message directly from netty component to the queue, i still
> get the error.
>

See this FAQ
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html

Rule of thumb, favor using getIn over getOut.


> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Apache-Camel-ActiveMq-tp5580552p5584987.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
CamelOne 2012 Conference, May 15-16, 2012: http://camelone.com
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to