camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muhammad Ichsan <ich...@gmail.com>
Subject How to convert
Date Tue, 18 May 2010 11:51:34 GMT
Dear All

I have the following routes:

from("direct:input").to("activemq:in?replyTo=out").to("mock:result");

// This receive InternalMessage object and send to a biller (the
biller bean receive ExternalMessage object)
from("activemq:in").to("bean:con?method=toExternalMessageRequest").to("bean:biller?method=write");
from("bean:biller?method=read").to("bean:con?method=toInternalMessageResponse").to("activemq:out");

I sent InternalMessage object into direct:input but I got
java.io.NotSerializableException. I did set InternalMessage and
ExternalMessage as Serializable.

What's going on?


-- 
~The best men are men who benefit to others
http://michsan.web.id 一緒に勉強しましょう!

Yang berkualitas memang beda rasanya!
http://rizqi-cookies.com

Mime
View raw message