ParallelProcessing of a webservice

2016-05-09 Thread santhoshks
Hi, I have a requirement where I have to call same webservice multiple times with different input. I can do this webservice calls in parallel. Can you suggest on how can I do it? Note: I am new to Camel :) -- View this message in context: http://camel.465427.n5.nabble.com/ParallelProcess

Poll to Google cloud storage (gs://)

2016-05-09 Thread sc
In my use case, one of the step is to poll for any files dropped in Google Cloud Storage location (gs:/) I didn't see any documentation for that. Is there an support for "gs://" protocol in Apache Camel or can I run command line utility to achieve the same? Any documentation or sample examp

Netty4 HTTP - java.lang.NoSuchMethodError: io.netty.util.internal.AppendableCharSequence.charAtUnsafe(I)C

2016-05-09 Thread Charles Moulliard
Hi, I'm experimenting a strange Netty4 HTTP Codec issue with Netty4 HTTP consumer io.netty.handler.codec.DecoderException: java.lang.NoSuchMethodError: io.netty.util.internal.AppendableCharSequence.charAtUnsafe(I)C --> [d #0 - NettyEventExecutorGroup] NettyHttpConsumer WARN HttpSe

Re: routing from rest to soap

2016-05-09 Thread miri eyni
2016-05-09 11:23:31.805 ERROR 9036 --- [qtp860455612-19] o.a.camel.processor.DefaultErrorHandler : Failed delivery for (MessageId: ID-HLLT-PC0A4F7B-58710-1462776374921-0-6 on ExchangeId: ID-HLLT-PC0A4F7B-58710-1462776374921-0-5). Exhausted after delivery attempt: 1 caught: org.apache.camel.http.co

Re: Aggregation Stratergy Apache camel

2016-05-09 Thread ravi21588
Hi Arnaude, During Aggregation we combine the old exchange and new exchange in the overridden aggregate method in java layer. is there any possibility to use xslt during combining old exchange and new exchange? am i clear now? -- View this message in context: http://camel.465427.n5.nabble.com/A

Re: Aggregation Stratergy Apache camel

2016-05-09 Thread Claus Ibsen
See this class https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/util/toolbox/XsltAggregationStrategy.java On Sun, May 8, 2016 at 7:41 PM, ravi21588 wrote: > Hi All, > Is there any way we can do merging of old exchange and new exchange during > aggregation usin

Re: Aggregation Stratergy Apache camel

2016-05-09 Thread Arnaud Deprez
Hi, I don't get your point. xslt is a transformation step and aggregation is another one. You might be use the enricher dsl if you want to combine your original message and the result of your xslt transformation: http://camel.apache.org/content-enricher.html. Rgds On Mon, May 9, 2016 at 7:45 AM r

Re: routing from rest to soap

2016-05-09 Thread Arnaud Deprez
Could you provide your full stack trace ? My guess is that you are trying to marshall an inputstream. If you are using the same pojo with jaxb annotations and jackson/gson (without any transformation), you first need to unmarshall the content with a jackson/gson dataformat and then marshall it with

routing from rest to soap

2016-05-09 Thread miri eyni
hello I need to build REST-SOAP gateaway JaxbDataFormat jaxb = new JaxbDataFormat(false); jaxb.setSchemaLocation("C:\\Users\\miri.eyni\\Desktop\\wsdl\\a.xsd"); from("jetty:http://localhost:8080/json?matchOnUriPrefix=true";).marshal(jaxb).to("http://localhost:

Re: Camel2.17: No bean could be found in the registry

2016-05-09 Thread yogu13
Hi, I am assuming you are using the same context which has the registry bound "CamelContext context = new DefaultCamelContext(registry);" you can add routes to the context as below context.addRoutes(new RouteBuilder() { @Override public void configure() { from("jetty://