You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Chris Wolf <cw...@gmail.com> on 2013/04/11 16:41:14 UTC

Is there a standard, DSL way to put message body in registry?

I know I could implement a custom Processor, but I was wondering if there
was a Java and Spring DSL way to put objects in the registry and lookup
them up later.

Thanks,


Chris

Re: Is there a standard, DSL way to put message body in registry?

Posted by Christian Müller <ch...@gmail.com>.
The same for headers...

Sent from a mobile device
Am 12.04.2013 17:38 schrieb "Chris Wolf" <cw...@gmail.com>:

> Right - ok, that sounds good.  I forgot that a property value can be an
> object not just a String.
>
>
> On Thu, Apr 11, 2013 at 9:46 PM, Willem jiang <willem.jiang@gmail.com
> >wrote:
>
> > If you put a object into the exchange properties, you can lookup it later
> > in other processor.
> >
> >
> > --
> > Willem Jiang
> >
> > Red Hat, Inc.
> > FuseSource is now part of Red Hat
> > Web: http://www.fusesource.com | http://www.redhat.com
> > Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
> > (English)
> >           http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
> > Twitter: willemjiang
> > Weibo: 姜宁willem
> >
> >
> >
> >
> >
> > On Thursday, April 11, 2013 at 10:41 PM, Chris Wolf wrote:
> >
> > > I know I could implement a custom Processor, but I was wondering if
> there
> > > was a Java and Spring DSL way to put objects in the registry and lookup
> > > them up later.
> > >
> > > Thanks,
> > >
> > >
> > > Chris
> >
> >
> >
>

Re: Is there a standard, DSL way to put message body in registry?

Posted by Chris Wolf <cw...@gmail.com>.
Right - ok, that sounds good.  I forgot that a property value can be an
object not just a String.


On Thu, Apr 11, 2013 at 9:46 PM, Willem jiang <wi...@gmail.com>wrote:

> If you put a object into the exchange properties, you can lookup it later
> in other processor.
>
>
> --
> Willem Jiang
>
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://www.fusesource.com | http://www.redhat.com
> Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/)
> (English)
>           http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
> Twitter: willemjiang
> Weibo: 姜宁willem
>
>
>
>
>
> On Thursday, April 11, 2013 at 10:41 PM, Chris Wolf wrote:
>
> > I know I could implement a custom Processor, but I was wondering if there
> > was a Java and Spring DSL way to put objects in the registry and lookup
> > them up later.
> >
> > Thanks,
> >
> >
> > Chris
>
>
>

Re: Is there a standard, DSL way to put message body in registry?

Posted by Willem jiang <wi...@gmail.com>.
If you put a object into the exchange properties, you can lookup it later in other processor.


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Thursday, April 11, 2013 at 10:41 PM, Chris Wolf wrote:

> I know I could implement a custom Processor, but I was wondering if there
> was a Java and Spring DSL way to put objects in the registry and lookup
> them up later.
>  
> Thanks,
>  
>  
> Chris  



Re: Is there a standard, DSL way to put message body in registry?

Posted by Christian Mueller <ch...@gmail.com>.
No, we do not have such a component at present.

Best,
Christian



--
View this message in context: http://camel.465427.n5.nabble.com/Is-there-a-standard-DSL-way-to-put-message-body-in-registry-tp5730717p5730730.html
Sent from the Camel - Users mailing list archive at Nabble.com.