You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by madhu <ma...@wipro.com> on 2012/02/21 06:17:20 UTC
camel event cnotext
hi we are migrating to camel from mule. i need cange the following code from
mule api to camel one.any ne pls help me.
MuleEventContext muleEventContext = null;
Object object =
commonEvent.getTransientEventContextInfo().get("muleEventContext");
if (object instanceof MuleEventContext) {
muleEventContext = ((MuleEventContext) object);
}
--
View this message in context: http://camel.465427.n5.nabble.com/camel-event-cnotext-tp5501233p5501233.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: camel event cnotext
Posted by madhu <ma...@wipro.com>.
thank you and i will try it
--
View this message in context: http://camel.465427.n5.nabble.com/camel-event-cnotext-tp5501233p5605651.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: camel event cnotext
Posted by Willem Jiang <wi...@gmail.com>.
I just did a quick search of the MuleEventContext, it looks like you
are planing to send the message with this context.
In the Camel you need to use CamelContext and create a ProducerTemplate
to send the exchange to the endpoint that you want.
Willem
On Tue Feb 21 13:17:20 2012, madhu wrote:
> hi we are migrating to camel from mule. i need cange the following code from
> mule api to camel one.any ne pls help me.
>
> MuleEventContext muleEventContext = null;
> Object object =
> commonEvent.getTransientEventContextInfo().get("muleEventContext");
> if (object instanceof MuleEventContext) {
> muleEventContext = ((MuleEventContext) object);
> }
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/camel-event-cnotext-tp5501233p5501233.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang