Re: Sharing a queue between two camel context

2013-09-04 Thread Christian Posta
. I want to perform a deQueue operation, > is it possible? > > thanks > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Sharing-a-queue-between-two-camel-context-tp5738613p5738678.html > Sent from the Camel - Users mailing list a

Re: Sharing a queue between two camel context

2013-09-04 Thread bonnahu
Hi Chris, I got another question here for you. I want to perform a deQueue operation, is it possible? thanks -- View this message in context: http://camel.465427.n5.nabble.com/Sharing-a-queue-between-two-camel-context-tp5738613p5738678.html Sent from the Camel - Users mailing list archive

Re: Sharing a queue between two camel context

2013-09-03 Thread bonnahu
Hi Christian, Thanks for your response. I will take your advice to try a real queue. -- View this message in context: http://camel.465427.n5.nabble.com/Sharing-a-queue-between-two-camel-context-tp5738613p5738617.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sharing a queue between two camel context

2013-09-03 Thread Christian Posta
Yes, you can use VM as long as the two camel context are in the same JVM and are loaded from the same classloader. Using a real queue (JMS in activemq) would be good for inter-jvm camel routes and distributed components or for more persistent reliability (like if the JVM goes down, what happens to

Sharing a queue between two camel context

2013-09-03 Thread bonnahu
Hey guys, I want to have a queue which is shared by two camel context. Should I use VM component? Is there any good sample code? thanks! -- View this message in context: http://camel.465427.n5.nabble.com/Sharing-a-queue-between-two-camel-context-tp5738613.html Sent from the Camel - Users

Re: Two camel context

2013-08-26 Thread Willem jiang
he load. So I am going to have two camel routes doing > the same job. Is there any way to synchronize the work of these two routes > together so they don't override each other work?Thanks and appreciate your > help > > > > -- > View this message in context: >

Two camel context

2013-08-24 Thread ROO
help -- View this message in context: http://camel.465427.n5.nabble.com/Two-camel-context-tp5737862.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Loading two camel context files at start

2011-12-07 Thread bvahdat
Just for the sake of completeness: Take a look at org.apache.camel.management.mbean.ManagedCamelContext.addOrUpdateRoutesFromXml() as the starting point. Babak -- View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-start-tp5049449p5055021.html

Re: Loading two camel context files at start

2011-12-07 Thread bvahdat
ava command-line-tool but also as nice as [2]. [1] http://www.consulting-notes.com/2010/08/managing-camel-routes-with-jmx-apis.html [2] http://camel.apache.org/web-console.html Babak -- View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-star

Re: Loading two camel context files at start

2011-12-06 Thread MichaelAtSAG
es need to be unique for both to load. However, I removed the id field and both loaded. Should I simply remove the id? What disadvantages does this have? -- View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-start-tp5049449p5052681.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Loading two camel context files at start

2011-12-06 Thread bvahdat
;t even have to interact with the Spring-API *directly*, that however is just a matter of taste. Babak -- View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-start-tp5049449p5051580.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Loading two camel context files at start

2011-12-05 Thread bvahdat
] https://svn.apache.org/repos/asf/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java [2] http://static.springsource.org/spring/docs/3.0.6.RELEASE/spring-framework-reference/html/beans.html#beans-factory-xml-import Babak -- View this message in context: http

Re: Loading two camel context files at start

2011-12-05 Thread MichaelAtSAG
) throws Exception { new Main().run(args); } } -- View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-start-tp5049449p5049892.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Loading two camel context files at start

2011-12-05 Thread bvahdat
ruction [4] http://camel.apache.org/spring-example.html Babak -- View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-start-tp5049449p5049859.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Loading two camel context files at start

2011-12-05 Thread MichaelAtSAG
ema/spring"; id="camel2" Is the recommended approach? -- View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-start-tp5049449p5049497.html Sent from the Camel - Users mailing list archive at Nabble.com.

Loading two camel context files at start

2011-12-05 Thread MichaelAtSAG
-context-2.xml] -- View this message in context: http://camel.465427.n5.nabble.com/Loading-two-camel-context-files-at-start-tp5049449p5049449.html Sent from the Camel - Users mailing list archive at Nabble.com.