Hi
It is possible with Camel to use dynamic consumer.
1)
In the Java route builder DSL you got a real programming language at
your fingertips so you can e.g. do in a for loop
for ( .... ) {
from("my dynamic URI").to("somewhere");
}
2)
You can always stop, modify and start a route in Camel at runtime.
3)
You can use the pollEnrich DSL to consume from a dynamic endpoint.
4)
The camel web console is about dynamic changing routes
5)
You can use the consumerTemplate
Some links
http://camel.apache.org/polling-consumer.html
http://camel.apache.org/content-enricher.html
http://camel.apache.org/event-driven-consumer.html
http://camel.apache.org/web-console.html
On Tue, Jul 28, 2009 at 4:53 AM, Willem Jiang<[email protected]> wrote:
> Camel supports the dynamic producer, but I don't think there is a way to
> support the dynamic consumer in Current version of Camel. If you want to do
> this , you need find a way to bind the further processor with the dynamic
> consumer. Can you tell me the detail requirement of this dynamic consumer?
>
> Usually, the consumer will take some resources such as threads, socket port,
> etc to star the work. The application will be slowed by too much dynamic
> consumers.
>
> Willem
>
>
> Mick Knutson wrote:
>>
>> I have a design question I would like some help which direction to go
>> into.
>>
>> Is there a good paper on creating dynamic consumers?
>>
>> ---
>> Thank You…
>>
>> Mick Knutson, President
>>
>> BASE Logic, Inc.
>> Enterprise Architecture, Design, Mentoring & Agile Consulting
>> p. (866) BLiNC-411: (254-6241-1)
>> f. (415) 685-4233
>>
>> Website: http://baselogic.com
>> Linked IN: http://linkedin.com/in/mickknutson
>> Vacation Rental: http://tahoe.baselogic.com
>> ---
>>
>
>
--
Claus Ibsen
Apache Camel Committer
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus