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: http://activemq.apache.org/camel/schema/camel-1.0.xsd";>

Re: [camel] using camel spring container

2007-05-03 Thread dr.jeff
e/camel/spring/endpointReference.xml > > Along the way I also removed the unnecesary element, so a > context can look like > > > > > > > > > > So you'll wanna so an 'svn up' of all of camel and try the new xsd etc. > > -- > James > --- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html#a10306522 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [camel] using camel spring container

2007-05-03 Thread James Strachan
On 5/3/07, dr.jeff <[EMAIL PROTECTED]> wrote: http://activemq.apache.org/camel/schema/camel-1.0.xsd";> This looks good, but how do I use it? I've tried things like: and and and Ah I'd not done that bit yet :) I'd done it so that you can refer to Endpoint instances as

Re: [camel] using camel spring container

2007-05-02 Thread dr.jeff
Reference.xml > > where we inject Endpoint instances into a POJO. i.e. you can define > them within a then use them by reference anywhere in > the spring.xml > -- > James > --- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabb

Re: [camel] using camel spring container

2007-05-02 Thread dr.jeff
> where we inject Endpoint instances into a POJO. i.e. you can define > them within a then use them by reference anywhere in > the spring.xml > -- > James > --- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html#a10291520 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

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): ... Great idea! I've just implemented it as follows... https://svn.apache.org/repos/a

Re: [camel] using camel spring container

2007-05-02 Thread dr.jeff
i of the form > > ref:referenceName to refer to it? > > > > > > > > > > > -- View this message in context: http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html#a10289533 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [camel] using camel spring container

2007-05-02 Thread James Strachan
On 5/1/07, dr.jeff <[EMAIL PROTECTED]> wrote: It would help to avoid these kind of errors if there was some mechanism in place to refer to URIs by reference, somewhat in the way that Spring refs work. If I have: then I can do: ... because I have more than

Re: [camel] using camel spring container

2007-05-01 Thread dr.jeff
oint > to a test case 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-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 https://svn.apache.org/repos/asf/activemq/camel/trunk/camel-spring/src/test/java/org/apache/camel

Re: [camel] using camel spring container

2007-04-30 Thread dr.jeff
? James.Strachan wrote: > > > ... > > and see the test case work > > -- > James > --- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html#a10257108 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: [camel] using camel spring container

2007-04-30 Thread dr.jeff
figuration won't be in the nightly build > until tomorrow. Sorry for any confusion > > > e.g. from a local 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-spring-container-tf3663875s2354.html#a10256438 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/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" org.s

Re: [camel] using camel spring container

2007-04-30 Thread dr.jeff
; http://cwiki.apache.org/CAMEL/spring.html > > -- > James > --- > http://macstrac.blogspot.com/ > > -- View this message in context: http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html#a10255927 Sent from the ActiveMQ - User mailing list archive at Nabble.com.

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, 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: > >

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: I can't even guess what the need for that is, unless it's ju

[camel] using camel spring container

2007-04-28 Thread dr.jeff
point.createProducer(); producer.process(exchange); So something is missing, probably in my understanding of how the camel-spring component is supposed to work. -- View this message in context: http://www.nabble.com/-camel--using-camel-spring-container-tf3663875s2354.html#a10237598 Sent