Re: Camel 2.9 - fails to converts a XML JMS Body to Java Bean

2012-04-18 Thread Claus Ibsen
On Thu, Apr 19, 2012 at 5:00 AM, Neo wrote: > Hi, > > > The following is my Route in general tems: > * > JMS Topic -> Async Camel JMS Subscriber ->SEDA -> CONVERTBODYTO -> SEDA > ->ENRICH ->SEDA->RESTFUL SERVICE CALLOUT* > >       In the current application that I am working on , I use the > conve

Camel 2.9 - fails to converts a XML JMS Body to Java Bean

2012-04-18 Thread Neo
Hi, The following is my Route in general tems: * JMS Topic -> Async Camel JMS Subscriber ->SEDA -> CONVERTBODYTO -> SEDA ->ENRICH ->SEDA->RESTFUL SERVICE CALLOUT* In the current application that I am working on , I use the convertbodyto tag to convert the incoming JMS Body of XML type to

Re: camel-test-spring

2012-04-18 Thread Willem Jiang
There are compiling issue of camel-test-spring with spring 3.0.x, but it should work by just applying the jar into the class path. You can override the spring version in your pom this time. On Thu Apr 19 05:23:07 2012, Magnus Palmér wrote: In the camel-parent pom: 3.0.7.RELEASE And in camel-t

Re: File2 endpoint issue

2012-04-18 Thread brbornia
Dam, too early to say I´m done... :( Requirerment changed, and now I have a new issue. I needed to change the polling interval from delay property to a quartz job like this: The problem I am facing now is that my quartz job is ignored after the first execution, and the e

Re: camel-test-spring

2012-04-18 Thread Magnus Palmér
In the camel-parent pom: 3.0.7.RELEASE And in camel-test-spring pom: 3.1.1.RELEASE Den 18 april 2012 23:12 skrev Magnus Palmér : > I ran into some trouble today when I changed my JUnit test to use > @RunWith(CamelSpringJUnit4ClassRunner.class) from camel-spring-test > > It turned out that a tran

camel-test-spring

2012-04-18 Thread Magnus Palmér
I ran into some trouble today when I changed my JUnit test to use @RunWith(CamelSpringJUnit4ClassRunner.class) from camel-spring-test It turned out that a transient dependency had resolved to: org.springframework:spring-beans:jar:3.0.7.RELEASE:compile This one was correct however: org.springframe

Retrieve Endpoint in Recipient List OnPrepareRef

2012-04-18 Thread ychawla
Hello All, Consider a simple recipient list: RecipientListHeader The Recipient List header has the contents: endpoint1, endpoint2 The endpoints are defined as: In my 'prepareMessage' processor, I want to access the endpoint that I am calling. This is becaus

Re: File2 endpoint issue

2012-04-18 Thread brbornia
Great, The ProducerTemplate worked very well, and now I could implement the features I needed. Thank you very much for your help :) Bruno -- View this message in context: http://camel.465427.n5.nabble.com/File2-endpoint-issue-tp5644759p5649895.html Sent from the Camel - Users mailing list arch

Re: OSGI Transaction Propagation to Camel Route

2012-04-18 Thread Chris Geer
After an upgrade to 5.6-SNAPSHOT everything works as expected. I'm still curious about my last question though :) Thank you all for your help. Chris On Tue, Apr 17, 2012 at 6:28 PM, Chris Geer wrote: > Thanks Raul, that issue does look like the problem I'm seeing on the > success case. I'll tr

[ANNOUNCE] Apache Camel 2.9.2 Released

2012-04-18 Thread hadrian
The Apache Camel project [1] is a powerful open source integration framework based on known Enterprise Integration Patterns [2]. The Camel community continues its efforts to issue patch releases on a predictable schedule. Today we are proud to announce a new patch release Apache Camel 2.9.2. T

Re: http endpoint, unknown host and errorhandler

2012-04-18 Thread Bob Jolliffe
OK. I had http endpoint as input to my route which I think caused it to poll indefinitely. Using a timer makes it more sane. http://apps.dhis2.org/dev/api/metaData.xml?httpClient.authenticationPreemptive=true&authMethod=Basic&authUsername=admin&authPassword=district"/> On 18 April 2012 13:

http endpoint, unknown host and errorhandler

2012-04-18 Thread Bob Jolliffe
I have a route which gets data using an http endpoint. I am trying to sensibly handle errors on the route. Because its a remote server there are many things which could go wrong in the network, so I configured an errorhandler with maximumRedeliveries="5". My problem is that if I test with a dumm

Re: Stateful Dynamic Router

2012-04-18 Thread Claus Ibsen
Hi I took a look. If you use a bean with the dynamic router, then it currently don't propagate the properties. I have logged a JIRA so we will improve this https://issues.apache.org/jira/browse/CAMEL-5189 On Tue, Apr 17, 2012 at 7:22 PM, Markus Wolf wrote: > Hi, > > I'm looking for an example o

Re: JCR Consumer?

2012-04-18 Thread Woonsan Ko
Hi Claus, I've attached a patch with a comment in the issue: https://issues.apache.org/jira/browse/CAMEL-5155 Cheers, Woonsan > > From: Woonsan Ko >To: "users@camel.apache.org" >Sent: Saturday, March 10, 2012 4:19 AM >Subject: Re: JCR Consumer? > >Thank yo

Re: Mix InOnly and Request-Reply in one Route

2012-04-18 Thread Claus Ibsen
On Wed, Apr 18, 2012 at 10:46 AM, Hervé BARRAULT wrote: > Hi, > > I have a WSDL with both Request-Reponse and One-Way operations for the same > binding. > > When using CXF i have for each "operation" a method to implement (so code > for OneWay - RequestReply is easy to split). > > When using CAMEL

Mix InOnly and Request-Reply in one Route

2012-04-18 Thread Hervé BARRAULT
Hi, I have a WSDL with both Request-Reponse and One-Way operations for the same binding. When using CXF i have for each "operation" a method to implement (so code for OneWay - RequestReply is easy to split). When using CAMEL/CXF, i have a single route to handle both In-Only and In-Out. Previous

Re: is it require to keep datatype of inputParams same for all routes??

2012-04-18 Thread Claus Ibsen
Hi For starters I suggest to see the bean component docs and bean binding docs http://camel.apache.org/bean.html http://camel.apache.org/bean-binding.html On Wed, Apr 18, 2012 at 8:15 AM, bhushand wrote: > I am using camel routes. > > > > > > > method1() needs 5-6 different objects for proc