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

Reply via email to