Are you wanting to use the exact same values every time?  Are you using Spring?

On Tue, May 15, 2012 at 9:02 AM, Rocco Gallo Citera
<gallociter...@gmail.com> wrote:
> You can have a bean that is a factory for the dynamic bean. For the
> parallel processing, you might want to take a look at the EIP, you
> could find it useful ;-)
>
> On Tue, May 15, 2012 at 9:11 AM, Christian Schneider
> <ch...@die-schneider.net> wrote:
>> That depends what you mean by configure. You can not create the bean every
>> time and call the constructore with values from the message.
>>
>> What you can do is call a method of the bean with e.g. header values from
>> the message.
>> See: http://camel.apache.org/bean-binding.html
>>
>> Christian
>>
>> Am 15.05.2012 13:11, schrieb soumya_sd:
>>
>>> Christian Schneider wrote
>>>>
>>>> You can“t really dynamically create the bean using camel DSL. It will
>>>> always be created at the time the route is added to camel.
>>>> Of course you can have one "singleton" bean that then creates the other
>>>> bean in java code.
>>>>
>>>>
>>>>
>>> @Christian - what I meant was to configure the bean with some values every
>>> time the route is invoked. My understanding is that Camel will allow that.
>>> Correct ?
>>>
>>> --
>>> View this message in context:
>>> http://camel.465427.n5.nabble.com/How-to-get-this-done-in-Camel-tp5709759p5709932.html
>>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
>>
>> --
>> Christian Schneider
>> http://www.liquid-reality.de
>>
>> Open Source Architect
>> Talend Application Integration Division http://www.talend.com
>>

Reply via email to