Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread Claus Ibsen
On Wed, Jul 1, 2009 at 9:06 PM, sriramch wrote: > > Claus, > I have created the following JIRA issue: > https://issues.apache.org/activemq/browse/CAMEL-1780 Thanks You can however use a Java Route Builder for the common stuff and have it reused by other camel context in spring XML if you use the

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread sriramch
Claus, I have created the following JIRA issue: https://issues.apache.org/activemq/browse/CAMEL-1780 Sriram Claus Ibsen-2 wrote: > > On Wed, Jul 1, 2009 at 8:39 PM, sriramch wrote: >> >> Thanks for your reply. This is a web-app and I was able to breakup my 1 >> context element into multiple con

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread Claus Ibsen
On Wed, Jul 1, 2009 at 8:39 PM, sriramch wrote: > > Thanks for your reply. This is a web-app and I was able to breakup my 1 > context element into multiple contexts with distinct id fields and load them > via the web.xml.  I have a set of common routes for error processing that I > would like to re

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread sriramch
Thanks for your reply. This is a web-app and I was able to breakup my 1 context element into multiple contexts with distinct id fields and load them via the web.xml. I have a set of common routes for error processing that I would like to re-use instead of copy-pasting into every route set in a ca

Re: Multiple camelContext elements in camel 2.0.m2 Spring DSL

2009-07-01 Thread Claus Ibsen
On Wed, Jul 1, 2009 at 6:53 PM, sriramch wrote: > > Hi, > I have multiple routes defined in a camelContext element in a single Spring > context file. Its become very large with lots of routes that don't > necessarily depend on each other. Is it possible to break it up into > multiple Spring context