Re: Dynamic layout input to flatpack component

2011-11-07 Thread Willem Jiang
I think you can extends the current FixedLengthEndpoint to inject the PzMap that you want to load. If you want contribute the patch, we definitely welcome :) On 11/7/11 3:00 PM, Raman Gupta wrote: In this case, I don't think dynamic URI is sufficient. I would need to build the pzmap.xml file d

Re: Dynamic layout input to flatpack component

2011-11-06 Thread Raman Gupta
In this case, I don't think dynamic URI is sufficient. I would need to build the pzmap.xml file dynamically and provide it to the flatpack endpoint, preferably as an injectable lookup bean that would implement some interface like this: interface LookupPzMap { Resource getPzMap(Message m); } T

Re: Dynamic layout input to flatpack component

2011-11-06 Thread Claus Ibsen
Hi Check this FAQ http://camel.apache.org/how-do-i-use-dynamic-uri-in-to.html Would it not be possible to specify the flatpack pzmap file in the uri and then use recipient list, to have dynamic endpoints? On Mon, Nov 7, 2011 at 12:20 AM, Raman Gupta wrote: > I'd like to use camel in a highly c

Dynamic layout input to flatpack component

2011-11-06 Thread Raman Gupta
I'd like to use camel in a highly configurable application. As an example, one component I'd like to use is the Flatpack component. The layout (.pzmap.xml) information will be generated from user-entered information stored in a database or other data structure, and this lookup may vary depending on