Re: camel-jsonpath

2014-03-21 Thread Claus Ibsen
Hi Its there in maven central. http://search.maven.org/#artifactdetails%7Corg.apache.camel%7Ccamel-jsonpath%7C2.13.0%7Cbundle Are you sure you did it correct? On Sat, Mar 22, 2014 at 12:47 AM, Lydie wrote: > Hello, > > I have added camel-jsonpath in my pom.xml file but it complains of: > "Missi

Re: Camel CXF Proxy with WS-Security

2014-03-21 Thread chaij
Great stuff.. But I assume this will only translate the body? How about the headers? Would that matter? Also, would camel be able to take the jaxb string and convert it into CXF_MESSAGE format? I am not quite clear how this works and didn't find much documentation talking about CXF_MESSAGE datafo

Re: Camel CXF Proxy with WS-Security

2014-03-21 Thread contactreji
The camel route might look something like follows   But make sure your bean:myProcessor returns the body as a XML and not POJO. Thats needed for the XSLT. I am not very sure if x

Re: Camel CXF Proxy with WS-Security

2014-03-21 Thread chaij
Thanks for the quick reply. That's a good clue. Can you give me something more concrete? What would route look like? Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-CXF-Proxy-with-WS-Security-tp5749223p5749226.html Sent from the Camel - Users mailing list archi

Re: camel-jsonpath

2014-03-21 Thread Reji Mathews
Try adding following to the POM com.jayway.jsonpath json-path 0.9.1 On 22 Mar 2014 05:17, "Lydie" wrote: > Hello, > > I have added camel-jsonpath in my pom.xml file but it complains of: > "Missing artifact org.apache.camel:camel-jsonpath" > > Should I add a repository? > > Thanks, > > Lydie >

Re: Camel CXF Proxy with WS-Security

2014-03-21 Thread Reji Mathews
Did u try using xslt after the processor bean part is over ? On 22 Mar 2014 09:21, "chaij" wrote: > I am writing a SOAP proxy. When a SOAP service call comes in, it goes to a > CXF consumer->Processor->CXF producer (with WS-Security) > > Since the incoming service call and the outgoing service ca

Camel CXF Proxy with WS-Security

2014-03-21 Thread chaij
I am writing a SOAP proxy. When a SOAP service call comes in, it goes to a CXF consumer->Processor->CXF producer (with WS-Security) Since the incoming service call and the outgoing service call are from different wsdl and thus different namespace, I would need to transform the information. How can

camel-jsonpath

2014-03-21 Thread Lydie
Hello, I have added camel-jsonpath in my pom.xml file but it complains of: "Missing artifact org.apache.camel:camel-jsonpath" Should I add a repository? Thanks, Lydie -- View this message in context: http://camel.465427.n5.nabble.com/camel-jsonpath-tp5749218.html Sent from the Camel - Users

Apache camel : Multithreading in route

2014-03-21 Thread Sona
String processFiles= "file://somedirectory?readLock=rename&preMove=inprogress/&move=../processed/&moveFailed=../error/" String postProcessor = "file://somedirectory/inprogress"; from(processFiles) .threads(10) .routeId("someId") .to("bean:somebean"); from(postProcessor) .routeId("postProcress")

moving input message after routing ends

2014-03-21 Thread a106562
Hello community, I have the following algorithm 1. Incoming message. 2. Fetch an object from db or remote service, which should be updated with information from parsed message. Parsing may be complex a) if the object is not available, then create an new one and save it into db. Notify user ab

RE: Seeing Info message all over log file related to Woodstox

2014-03-21 Thread Nair, Madhu
Using a JVM system property to specify woodstox as the Stax parser seems to result in a pushback from the server admin to do this. Is there any way we can specify this in Camel? Woodstox internally uses the Stax and Stax2 jars which have their own version of the Stax parser which seem to be get

ProducerTemplate ... why no asyncSendBodyAndHeader(s)?

2014-03-21 Thread Mike Oxford
asyncRequestBodyAndHeaders exists ... sendBodyAndHeaders exists... Why no asyncSendBodyAndHeaders? Thanks!

Messages Stuck in Queue?

2014-03-21 Thread Deathrow76
I've implemented a consumer class that consumes messages of a queue using the consumer template receive method. This works fine most of the time but every now and then, messages seem to get stuck on the queue. Today I read that when using the receive methods, one has to call the doneUoW on the exch

spawning exchanges from the processor

2014-03-21 Thread manishk
Hello, I am new to camel and have just started working on a integration project. The scenario i have is as follows, i receive a message on an endpoint, pass it to a Processor. The processor iterates over a List(contains a collection of a specific attribute to be set in the message) and sets an attr

RE: sql component and delay

2014-03-21 Thread Lydie
Thank you! From: Claus Ibsen-2 [via Camel] [mailto:ml-node+s465427n5749170...@n5.nabble.com] Sent: Friday, March 21, 2014 12:10 AM To: Lydie Prevost Subject: Re: sql component and delay Hi If you want to use 2 or more options, then use & to separate them, just as uri parameters you see in the w

Re: CAMEL: Adding Properties to a message in Spring DSL

2014-03-21 Thread Claus Ibsen
Hi Use instead. as headers are part of the message. You can read a bit more on the javadoc for Exchange and Message from http://camel.apache.org/maven/current/camel-core/apidocs/index.html Or more from the chapter 1 of the Camel in Action book, see section 1.3 http://manning.com/ibsen/chapter1s

CAMEL: Adding Properties to a message in Spring DSL

2014-03-21 Thread npa
I have a simple route in camel, which reads messages from an activemq queue 'A' and writes it to another activemq queue 'B'.I was able to get this to this part to work. But I need to add a new property to the message before writing it to 'B'. I have tried to add the property 'prop1' to the message

Re: JMS Request/Reply but without setting JMSReplyTo header on outgoing message?

2014-03-21 Thread Claus Ibsen
You can use a consumer template to consume from a queue, but if the queue is shared, then you need a JMSSelector to pickup the message with the JMSCorrelationID you expect. You can then use a java bean etc, to send the message, and then use the consumer template to consume the message. And then ca

Re: sql component and delay

2014-03-21 Thread Claus Ibsen
Hi If you want to use 2 or more options, then use & to separate them, just as uri parameters you see in the web browser address bar etc. See more details at http://camel.apache.org/how-do-i-configure-endpoints.html So it should be ?consumer.onConsume={{sql.oracle.markPart}}&consumer.delay=5000