On 5/3/07, dr.jeff [EMAIL PROTECTED] wrote:
Very good, excellent even, and nearly working.
:)
This:
camelContext id=camel
xmlns=http://activemq.apache.org/camel/schema/camel-1.0.xsd;
endpoint id=endpoint1 uri=direct:start/
endpoint id=endpoint2 uri=mock:end/
route
from
to refer to it?
camelContext
endpoint id=foo uri=jms:queue:cheese.bar/
endpoint id=bar uri=jms:queue:cheese.bar/
from uri=ref:foo
to uri=ref:bar/
--
View this message in context:
http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html
On 5/2/07, dr.jeff [EMAIL PROTECTED] wrote:
Good stuff.
It might be useful to be able to refer from the camelContext out into the
wider Spring beans context (I would find it useful):
!-- define a URI here --
bean name=foo class=java.net.URI
constructor-arg value=jms:queue:cheese.bar/
/bean
BTW I've created a little test case for this kinda use case...
https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/routingUsingProcessor.xml
to avoid myself getting confused :)
--
James
---
http://macstrac.blogspot.com/
--
View this message in context:
http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html#a10277041
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
On 4/29/07, dr.jeff [EMAIL PROTECTED] wrote:
I have tried and completely failed to use the camel spring container.
I see where it can do two things:
1) create a context which instantiates RouteBuilders in a given package:
bean id=camel class=org.apache.camel.spring.CamelContextFactoryBean
On 4/30/07, James Strachan [EMAIL PROTECTED] wrote:
On 4/29/07, dr.jeff [EMAIL PROTECTED] wrote:
I have tried and completely failed to use the camel spring container.
I see where it can do two things:
1) create a context which instantiates RouteBuilders in a given package:
bean id=camel
BTW to try and avoid future confusion, I've added some Spring documentation...
http://cwiki.apache.org/CAMEL/spring.html
--
James
---
http://macstrac.blogspot.com/
On 4/30/07, dr.jeff [EMAIL PROTECTED] wrote:
If I use the example at:
http://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/resources/org/apache/camel/spring/routingUsingCamelContextFactoryWithNamespacesTest.xml
then I get this exception
Exception in thread main
checkout of camel you should be able to type
cd camel-spring
mvn clean test -Dtest=RoutingUsingCamelContextFactoryAndNamespacesTest
and see the test case work
--
James
---
http://macstrac.blogspot.com/
--
View this message in context:
http://www.nabble.com/-camel--using-camel
/-camel--using-camel-spring-container-tf3663875s2354.html#a10257108
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
11 matches
Mail list logo