. 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
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
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.
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
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
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:
>
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.
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
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
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.
;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.
]
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
) 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.
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.
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.
-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.
16 matches
Mail list logo