You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Yiannis Mavroukakis <im...@gameaccount.com> on 2010/08/09 17:48:39 UTC
Dynamic options on Direct component, possible?
Hi lovely people :)
I was wondering, within the context of the Spring DSL, is it possible
given a bean with @RecipientList to be used in
a <recipientList> element ?
TIA
Yiannis
Re: Dynamic options on Direct component, possible?
Posted by Yiannis Mavroukakis <im...@gameaccount.com>.
Hi Claus and thanks!
So this should not work?
<recipientList>
<method ref="recipientBean"/>
</recipientList>
Y.
On 9 August 2010 17:11, Claus Ibsen <cl...@gmail.com> wrote:
> On Mon, Aug 9, 2010 at 5:48 PM, Yiannis Mavroukakis
> <im...@gameaccount.com> wrote:
> > Hi lovely people :)
> >
> > I was wondering, within the context of the Spring DSL, is it possible
> > given a bean with @RecipientList to be used in
> > a <recipientList> element ?
> >
>
> No the idea is you use a <bean> element, even if the bean has been
> annotated with @RecipientList
>
>
> > TIA
> >
> > Yiannis
> >
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>
Re: Dynamic options on Direct component, possible?
Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Aug 9, 2010 at 11:29 PM, Yiannis Mavroukakis
<im...@gameaccount.com> wrote:
> Ah just noticed you're the author of Camel In Action, I'm reading the MEAP
> as I'm going along, perhaps
> something to include in the book ? :)
>
Thanks I have noted this.
> On 9 August 2010 17:11, Claus Ibsen <cl...@gmail.com> wrote:
>
>> On Mon, Aug 9, 2010 at 5:48 PM, Yiannis Mavroukakis
>> <im...@gameaccount.com> wrote:
>> > Hi lovely people :)
>> >
>> > I was wondering, within the context of the Spring DSL, is it possible
>> > given a bean with @RecipientList to be used in
>> > a <recipientList> element ?
>> >
>>
>> No the idea is you use a <bean> element, even if the bean has been
>> annotated with @RecipientList
>>
>>
>> > TIA
>> >
>> > Yiannis
>> >
>>
>>
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Author of Camel in Action: http://www.manning.com/ibsen/
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus
Re: Dynamic options on Direct component, possible?
Posted by Yiannis Mavroukakis <im...@gameaccount.com>.
Ah just noticed you're the author of Camel In Action, I'm reading the MEAP
as I'm going along, perhaps
something to include in the book ? :)
On 9 August 2010 17:11, Claus Ibsen <cl...@gmail.com> wrote:
> On Mon, Aug 9, 2010 at 5:48 PM, Yiannis Mavroukakis
> <im...@gameaccount.com> wrote:
> > Hi lovely people :)
> >
> > I was wondering, within the context of the Spring DSL, is it possible
> > given a bean with @RecipientList to be used in
> > a <recipientList> element ?
> >
>
> No the idea is you use a <bean> element, even if the bean has been
> annotated with @RecipientList
>
>
> > TIA
> >
> > Yiannis
> >
>
>
>
> --
> Claus Ibsen
> Apache Camel Committer
>
> Author of Camel in Action: http://www.manning.com/ibsen/
> Open Source Integration: http://fusesource.com
> Blog: http://davsclaus.blogspot.com/
> Twitter: http://twitter.com/davsclaus
>
Re: Dynamic options on Direct component, possible?
Posted by Claus Ibsen <cl...@gmail.com>.
On Mon, Aug 9, 2010 at 5:48 PM, Yiannis Mavroukakis
<im...@gameaccount.com> wrote:
> Hi lovely people :)
>
> I was wondering, within the context of the Spring DSL, is it possible
> given a bean with @RecipientList to be used in
> a <recipientList> element ?
>
No the idea is you use a <bean> element, even if the bean has been
annotated with @RecipientList
> TIA
>
> Yiannis
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus