Re: Need for XA?

2014-01-04 Thread kraythe .
the camel page on transactions shows you how to do an XA transaction manager. :) *Robert Simmons Jr. MSc. - Lead Java Architect @ EA* *Author of: Hardcore Java (2003) and Maintainable Java (2012)* *LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39

Re: Asynchronous processing of routes

2014-01-04 Thread yashgt
Perhaps my post was not clear enough... Route 1 send M1 to the target service over MQ1 and waits for the target to respond back with message M2 on MQ2. Now, like Route1, there are many other routes that expect different messages. RouteX expects MX to come on MQ2. RouteY expects MY to come on MQ2

Appending value to XML - Camel Blueprint

2014-01-04 Thread camel user
I want to append a property set in the first route to the resultant XML of the serviceURI hit from the second route. If its possible, please let me know how. Sample snippet below. --some stuff goes here-- /result/empName/text() --some stuff goes here-- --${body} will have the resultant xm

Multicast EIP - Camel Blueprint

2014-01-04 Thread camel user
In the below snippet, I want the property empNo to be available in the route3. Is it possible? My ultimate goal here is that I want to use a value derived from the URI in Multicast first route to be available in the multicast second route. How to achieve it? Please help. --some stuuf goes here

Holding a value in camel blueprint

2014-01-04 Thread camel user
Greetings! I have a problem holding a value in camel blueprint. Please help me resolve it For e.g., I have 2 to 3 routes,  In my first route, I will hit a service URI and save the response xml from the service in a property,say 'outputXML'. I want the outputXML to be available in all the other

Re: Need for XA?

2014-01-04 Thread Krzysztof Sobkowiak
Hi Are there any samples how to develop such requirement with camel? Krzysztof On 04.01.2014 22:04, Pontus Ullgren wrote: It all depends on your requirements and how your database and the system consuming from the second queue is designed. If the write operation to the database and the system

Re: Using the x509HostnameVerifier option in http4

2014-01-04 Thread Christian Müller
As documented on [1], the option 'x509HostnameVerifier' is available from Camel 2.7.0. Apache ServiceMix 4.3.0 is using Apache Camel 2.6.0 [2]. You should not use Camel 2.8.0 in ServiceMix 4.3.0. Please consider to upgrade ServiceMix (also because Apache Camel 2.11.x is the oldest supported releas

Re: Need for XA?

2014-01-04 Thread Pontus Ullgren
It all depends on your requirements and how your database and the system consuming from the second queue is designed. If the write operation to the database and the system consuming from the second queue is idempotent, ie they can both gracefully handle that the same message is processed twice. Th

Re: Using the x509HostnameVerifier option in http4

2014-01-04 Thread Mohan
We are using apache-servicemix-4.3.0 and the different camel components are as given below. ./data/jbi/MYESBComp-sa/sus/MYESBComp-camel-su/lib/camel-http4-2.8.0.jar ./data/jbi/IDServerBus-sa/sus/IDServerBus-camel-su/lib/camel-jxpath-2.6.0.jar ./data/jbi/IDServerBus-sa/sus/IDServerBus-camel-su/lib/

Re: Streaming ResultSet Revisted

2014-01-04 Thread Claus Ibsen
On Fri, Jan 3, 2014 at 6:24 PM, Christopher Gardner wrote: > Here: > > http://camel.465427.n5.nabble.com/streaming-of-an-sql-resultset-td5547603.html > > Claus recommends using "... a custom expression that returns an Iterator, > the the > splitter will use the iterator to read in a one row at a t

Re: Camel RemoteFilePollingConsumerPollStrategy and retry

2014-01-04 Thread Claus Ibsen
Hi What do you mean by "just give up" do you mean the consumer should be stopped and never poll again? On Fri, Jan 3, 2014 at 5:49 PM, geppo wrote: > Hi, > I'm extending the GenericFileConsumer and setting the Poll Strategy to > RemoteFilePollingConsumerPollStrategy. At the moment if there is a

Re: Request for a project to upload for Rest Webservices

2014-01-04 Thread Claus Ibsen
Hi You can also find some 3rd party examples and blogs at http://camel.apache.org/articles where some of these covers Rest On Fri, Jan 3, 2014 at 5:26 AM, maheshpvd wrote: > Hi, > > Can any one upload complete Rest webservice project It would be very > helpful for me. as i'm starting to thi