Re: [camel] using camel spring container

2007-05-04 Thread James Strachan
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

Re: [camel] using camel spring container

2007-05-02 Thread dr.jeff
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

Re: [camel] using camel spring container

2007-05-02 Thread James Strachan
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

Re: [camel] using camel spring container

2007-05-01 Thread James Strachan
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

Re: [camel] using camel spring container

2007-05-01 Thread dr.jeff
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.

Re: [camel] using camel spring container

2007-04-30 Thread James Strachan
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

Re: [camel] using camel spring container

2007-04-30 Thread James Strachan
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

Re: [camel] using camel spring container

2007-04-30 Thread James Strachan
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/

Re: [camel] using camel spring container

2007-04-30 Thread James Strachan
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

Re: [camel] using camel spring container

2007-04-30 Thread dr.jeff
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

Re: [camel] using camel spring container

2007-04-30 Thread dr.jeff
/-camel--using-camel-spring-container-tf3663875s2354.html#a10257108 Sent from the ActiveMQ - User mailing list archive at Nabble.com.