Re: AWS SQS - 2.10.3 missing functionality

2012-12-13 Thread ads_green
Hi - that's what I've got via maven and the camel-aws 2.10.3 jar, source and javadoc do not include the new 2.10.3 functionality. I've checked the meta inf in the camel-aws jar and it does indicate version 2.10.3 -- View this message in context: http://camel.465427.n5.nabble.com/AWS-SQS-2-10-3-

crypto component: meaning of name in the URI crpyto:sign:name[?options]

2012-12-13 Thread FPF emc
Hello, I am writing a custom component which is similar to the crypto component. I want to create a component which uses the PKCS7 or CMS Signed Data or Enveloped Data for signing and encryption. For this I looked at the existing crypto component. There the URI scheme crypto:sign:name[?options]

Re: Return Value from Python Script Not In Message Body

2012-12-13 Thread Willem jiang
As you are just print the return value of main, I don't think you can result of script when it is ran. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/

Re: Camel JPA - Parameterized Queries?

2012-12-13 Thread Babak Vahdat
Am 14.12.12 03:16 schrieb "dmcamp" unter : >Yeah sure. >I just created a custom bean which uses JPA to query what I need. So, >instead of the jpa endpoint, y use my bean, and that's it. You can also achieve this easily through two lines of code in a Processor/Bean etc. as the JpaEndpoint alread

Re: Camel JPA - Parameterized Queries?

2012-12-13 Thread dmcamp
Yeah sure. I just created a custom bean which uses JPA to query what I need. So, instead of the jpa endpoint, y use my bean, and that's it. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JPA-Parameterized-Queries-tp5724046p5724061.html Sent from the Camel - Users maili

Re: Camel JPA - Parameterized Queries?

2012-12-13 Thread Willem jiang
Hi, Can you share the work around you got? It will save lot of time when the other user hits the same issue like you. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemj

Re: AWS SQS - 2.10.3 missing functionality

2012-12-13 Thread Willem jiang
Hi, The camel 2.10.3 is released. You should be able to download the release here[1] [1]http://camel.apache.org/camel-2103-release.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: Test Intercept with adviceWith and http

2012-12-13 Thread Willem jiang
We don't deploy the source jar into the snapshot repository. If you want to have one you can try to build the artifact yourself from the svn repository[1]. [1]http://camel.apache.org/source.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com

Re: losing headers after mondodb endpoint

2012-12-13 Thread Jason Chaffee
Yep, it is fixed now. On 12/13/12 1:06 AM, "Raul Kripalani" wrote: >Hi Jason, > >This was fixed in Camel 2.10.3: >https://issues.apache.org/jira/browse/CAMEL-5697. > >Could you try with that version and let us know? > >Regards, >Raúl. >On 13 Dec 2012 02:40, "Jason Chaffee" wrote: > >> I am pr

Bug : AdviceWith not working with weaveAddFirst() weaveAddLast().

2012-12-13 Thread lleclerc
Here is the source code that test the 2 functions (org.apache.camel.processor.interceptor.AdviceWithWeaveFirstLastTest.java) The modified version : http://pastebin.com/RiKfzTfs The only change been that I used the function @Override public boolean isUseAdviceWith() { return tru

Re: Camel JPA - Parameterized Queries?

2012-12-13 Thread dmcamp
Hi Babak, Thanks for the quick response. It's a shame it doesn't support that. I already know a work around I can use, but I was just trying to let Camel do all the work. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-JPA-Parameterized-Queries-tp5724046p5724051.html

Re: Test Intercept with adviceWith and http

2012-12-13 Thread lleclerc
Thanks! Updated my pom file with org.apache.camel camel-core 2.10.4-SNAPSHOT apache.snapshots Apache Development Snapshot Repository https://repository.apache.org/content/repositories/snapshots

Re: Camel JPA - Parameterized Queries?

2012-12-13 Thread Babak Vahdat
Am 13.12.12 16:59 schrieb "dmcamp" unter : >Hello Everyone, > >I'm looking for a way to do something like this: > >to("jpa://com.domain.MyEntity?consumer.query=select x from >com.domain.MyEntity e where e.processDate < ?", new Date()) >... >I mean I need a way to pass objects as query parame

Re: camel-quickfix RequestReplyExample java.io.IOException

2012-12-13 Thread lawkai
;H", "OrderStatusRequest" ], "SenderCompID": "TRADER", "SendingTime": "20121213-16:15:16.107", "TargetCompID": "MARKET" } "body": { "ClOrdID": "XYZ", "OrderID&quo

Re: mock.expectedMessageCount(0) resulting in a false positive

2012-12-13 Thread Babak Vahdat
Am 13.12.12 13:51 schrieb "camel.user2.ch" unter : >Hi Babak, > >Thanks a lot for your reply, it confirms what I suspected from looking >through the source. I can see that when you setExpectedMessageCount(0), >there is no countdown latch, resulting in the mock being asserted on >pretty >much str

Camel JPA - Parameterized Queries?

2012-12-13 Thread dmcamp
Hello Everyone, I'm looking for a way to do something like this: to("jpa://com.domain.MyEntity?consumer.query=select x from com.domain.MyEntity e where e.processDate < ?", new Date()) ... I mean I need a way to pass objects as query parameters. In this case what I'm trying to do is that each

Re: Test Intercept with adviceWith and http

2012-12-13 Thread Willem jiang
I already committed a fix for it , you can find more information here[1] Please verify with the latest camel snapshot. [1]https://issues.apache.org/jira/browse/CAMEL-5854 -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blo

Re: Web Service Consumer Route: service class implementation vs. exchange.getOut().setBody("")

2012-12-13 Thread Hildegard Schedthelm
That makes sense! :-) A web service endpoint implementation here is useless. Thank you! Betreff: Re: Web Service Consumer Route: service class implementation vs. exchange.getOut().setBody("") camel-cxf consumer just route the request (or the invocation message

Re: Web Service Consumer Route: service class implementation vs. exchange.getOut().setBody("")

2012-12-13 Thread Willem jiang
camel-cxf consumer just route the request (or the invocation message ) to the camel route, we don't want to handle the request in the implementation there. If you want to use the implementation to handle the request, you can just use CXF directly. -- Willem Jiang Red Hat, Inc. FuseSource is

Re: routing messages to two environments

2012-12-13 Thread Hadrian Zbarcea
That's what a wiretap [1] is for. When you place a wire tap on the route at your spot of interest, you get an exact copy of the message to a another endpoint (which could be another route, a jms endpoint, log, etc, that's besides the point). That's where you place the logic of moving the messag

AWS SQS - 2.10.3 missing functionality

2012-12-13 Thread ads_green
Hi, The doc for Amazon SQS says: waitTimeSeconds Camel 2.10.3: Duration in seconds (0 to 20) that the ReceiveMessage action call will wait until a message is in the queue to include in the response. receiveMessageWaitTimeSeconds Camel 2.10.3: If you do not specify WaitTimeSeconds in the reque

Re: mock.expectedMessageCount(0) resulting in a false positive

2012-12-13 Thread camel.user2.ch
Hi Babak, Thanks a lot for your reply, it confirms what I suspected from looking through the source. I can see that when you setExpectedMessageCount(0), there is no countdown latch, resulting in the mock being asserted on pretty much straight away. I don't really like the MockEndpoint.setSleepFor

routing messages to two environments

2012-12-13 Thread newbiee
We are using IBM MQ in our PRODCUTION and QA environments. We need to route messages being received in PRODUCTION environment to our QA environment too for some testing. The queue manager being used in PRODUCTION environment is different that the one being used in QA environment. I will appreciate

Web Service Consumer Route: service class implementation vs. exchange.getOut().setBody("")

2012-12-13 Thread Hildegard Schedthelm
Hello folks! As I have started to build up a web service by a web service consumer route I had difficulties to grasp how to accommodate the web service implementation to this approach.  Now I have figured out that the web service response is done by exchange.getOut().setBody("RESPONSE"); in any

Re: losing headers after mondodb endpoint

2012-12-13 Thread Raul Kripalani
Hi Jason, This was fixed in Camel 2.10.3: https://issues.apache.org/jira/browse/CAMEL-5697. Could you try with that version and let us know? Regards, Raúl. On 13 Dec 2012 02:40, "Jason Chaffee" wrote: > I am processing a REST call using CXFRS and then sending that to a mongodb > endpoint, and

Re: Error handling when using camel-cxf

2012-12-13 Thread helander
Aki, thanks for the feedback. At the moment I am only using request/response (InOut). If the service (called by the end of the route) returns a SOAP Fault, will then the cxf-endpoint make sure that the http status code returned to the caller becomes 500? Do the cxf-endpoint force the return of a

Re: Using Dead letter channel with ActiveMQ?

2012-12-13 Thread Claus Ibsen
On Wed, Dec 12, 2012 at 7:01 PM, dunnlow wrote: > Willem, thank you for your response - although I'm sorry, I don't fully > understand it. > > I have a transacted route that pulls a msg from activemq and sends it to > another route that multicasts that message to a variety of services. If any > o