Re: Setting a requestTimeout for a shared/Exclusive reply does not take effect for multiple concurrent users

2013-06-07 Thread Siva B
It's just an URI in producer template -- View this message in context: http://camel.465427.n5.nabble.com/Setting-a-requestTimeout-for-a-shared-Exclusive-reply-does-not-take-effect-for-multiple-concurrent-us-tp5733811p5734028.html Sent from the Camel - Users mailing list archive at Nabble.com.

Producer Template Failure on Glassfish AIX

2013-06-07 Thread peter.berkman
having problems deploying Camel 2.10.2 on Glassfish 3.1.2.2 (build 4) on AIX with IBM 1.6 JDK - 64 bit - build pap6460sr13fp2-20130424_01(SR13 FP2). The exception, noted at the bottom, happens when it tries to load the Camel Context that utilizes a Producer Template. This works perfectly on both

Re: File Component: Default rename behaviour

2013-06-07 Thread jamesilicious
Just to refine the question; we can't do anything about the renameTo operation failing as 1) it's a Java implementation and 2) the file systems etc are out of our control, so need an alternative. Being able to specify a copyStrategy would be ideal, but not possible at the moment. -- View this

Re: [Best Practise Question] Seda + WireTap + Exchange ID : How to keep it all together?!

2013-06-07 Thread jamesilicious
Thanks - will give both of those a go! -- View this message in context: http://camel.465427.n5.nabble.com/Best-Practise-Question-Seda-WireTap-Exchange-ID-How-to-keep-it-all-together-tp5733520p5734025.html Sent from the Camel - Users mailing list archive at Nabble.com.

File Component: Default rename behaviour

2013-06-07 Thread jamesilicious
We have a scenario where we are consuming a large number of files, using the file component and passing off the processing to seda routes. The component is moving the file (preMove) and moving to a completed directory once done. The throughput is particularly poor, and think it may be because of

Re: Cannot get SFTP component to stop polling

2013-06-07 Thread swwyatt
We are doing something similar. How are you stopping the route? I ended up doing this: camelContext.stopRoute(routeId); camelContext.removeRoute(routeId); We are having several dynamic consumer routes in the same context, so we additionally call camelContext.stop(), hopefully this would just sto

Cannot get SFTP component to stop polling

2013-06-07 Thread Chris Wolf
I am using Camel 2.10.4 and need to use SFTP to fetch files. Since the sftp consumer does not support dynamic properties (connecting to different host/directory/user/pass, etc.) I implemented a custom processor which sets up the SftpComponent, SftpEndpoint and SftpConsumer, in what I believe to be

Re: Regarding request routing through camel web app

2013-06-07 Thread Willem jiang
Hi, How did you deploy the servlet? If you are using the camel-servelt you just need to use the relative path not use the full path. Please check the document in the camel-servlet[1] for more information. [1]http://camel.apache.org/servlet.html -- Willem Jiang Red Hat, Inc. FuseSource is n

Regarding request routing through camel web app

2013-06-07 Thread indrayani
hi all, I need a little help. My web application A is sending http request to camel web application . and i have defined a route in camel routebuilder which says if the request comes from A then forward it to other web application B. web application A's http get method is making a http call to ca

Re: SPeL in tag attributes when using Spring context

2013-06-07 Thread ikoblik
Hello Claus, Thank you for the response. After looking at the source code I understand better what's happening. Camel uses JAXB to unmarshal FromDefinition which naturally doesn't execute any SPeL. So unless unmarshalling is done using only Spring namespace handlers in conjunction with FactoryBea

Re: Problem with runTimeException handling.

2013-06-07 Thread suyash.singh
Hi Claus, So where is what I have accomplished: 1) I am in Bean 1. 2) I get the timer-expiry and handle it with OnException and I set it as Continued because if I set it to handled, the pipe breaks and nothing goes out to caller. 3) I set a reply message in exchange 4) NOW I need to wait for Bean

Re: Camel always sending MQRFH2 headers to target WebsphereMQ queue.

2013-06-07 Thread shashi.kant
Solved my problem by using the following snapshot at camel website... initially i was trying at router level ..then i moved to component level which seems logical. Register component with camel context and then start the router. A workaround is to use a custom DestinationResolver: JmsComponent w

Re: Unable to build camel-2.12-SNAPSHOT

2013-06-07 Thread Claus Ibsen
No its available now. The git repo is here http://camel.apache.org/2013/05/14/camel-moved-to-git.html On Fri, Jun 7, 2013 at 10:51 AM, barthorre wrote: > Thanks! > This will be available via git tomorrow iirc? > > > On Fri, Jun 7, 2013 at 10:44 AM, Claus Ibsen-2 [via Camel] < > ml-node+s465427n5

Re: Unable to build camel-2.12-SNAPSHOT

2013-06-07 Thread barthorre
Thanks! This will be available via git tomorrow iirc? On Fri, Jun 7, 2013 at 10:44 AM, Claus Ibsen-2 [via Camel] < ml-node+s465427n573400...@n5.nabble.com> wrote: > Commited fix. > > On Fri, Jun 7, 2013 at 9:46 AM, Claus Ibsen <[hidden > email]

Re: Unable to build camel-2.12-SNAPSHOT

2013-06-07 Thread Claus Ibsen
Commited fix. On Fri, Jun 7, 2013 at 9:46 AM, Claus Ibsen wrote: > Hi > > Okay spotted the problem and have a fix pending for commit. Thanks for > reporting. > > On Fri, Jun 7, 2013 at 9:25 AM, barthorre wrote: >> Tried to build with maven multiple times yesterday, which didn't work. >> I checke

Re: MailComponent/MailConsumer misses Mails

2013-06-07 Thread cgiera
Hello, thx for the reply. But even if the consumer is not transaction secure, it should not happen that mails are marked as seen but don't get processed. I haven't found why this happens exactly, but I have described where it happens in my previous posts. I'm wondering that no one had this behavio

Re: ONC-RPC

2013-06-07 Thread Claus Ibsen
Hi There is no such endpoint on the roadmap. But we love contributions http://camel.apache.org/contributing.html And for people wanting to work on a new Camel component read this guide http://camel.apache.org/add-new-component-guide.html On Wed, Jun 5, 2013 at 12:19 PM, Sven Bauhan wrote: > Hi

Re: MailComponent/MailConsumer misses Mails

2013-06-07 Thread Claus Ibsen
Hi No the mail consumer is not TX per see. When it marks a mail as SEEN it cannot do this in an atomic transaction. Also there is a bit difference when using pop3 or imap. On Thu, Jun 6, 2013 at 9:28 AM, cgiera wrote: > A general question: > Is the camel mail consumer transaction secure? > >

Re: Unable to build camel-2.12-SNAPSHOT

2013-06-07 Thread Claus Ibsen
Hi Okay spotted the problem and have a fix pending for commit. Thanks for reporting. On Fri, Jun 7, 2013 at 9:25 AM, barthorre wrote: > Tried to build with maven multiple times yesterday, which didn't work. > I checked the code out again this morning, still no go. So I ran the test > with DEBUG

Re: Problem with runTimeException handling.

2013-06-07 Thread Claus Ibsen
Hi You can use onException to catch and handle the runtime exception, and there you can do set some "reply message" you want to caller to see. And remember to set a status code of 500+ if you want to tell the caller that there was some internal server error etc. And no you cannot route to bean2 a

Re: Unable to build camel-2.12-SNAPSHOT

2013-06-07 Thread barthorre
Tried to build with maven multiple times yesterday, which didn't work. I checked the code out again this morning, still no go. So I ran the test with DEBUG logging from IntelliJ and the failing method is: testTokenXMLPair2 As far as I can see the logging doesn't show anything irregular, except for

Re: Setting a requestTimeout for a shared/Exclusive reply does not take effect for multiple concurrent users

2013-06-07 Thread Claus Ibsen
And what is the Camel route if using any? Or just that uri from a producer template? And btw the producer template is waiting for a reply hence why its blocking. And if the reply/timeout takes a long to trigger then it still blocks. On Thu, Jun 6, 2013 at 6:50 PM, Siva B wrote: > Here is the ca

Re: Header and java.util.Date

2013-06-07 Thread Claus Ibsen
The simple language has a date function but its only for formatting to a String value http://camel.apache.org/simple If you want code like new Date() then you would need to use some of the other languages like groovy, javascript, possible mvel, or ognl can do it. http://camel.apache.org/languages

Re: Unable to build camel-2.12-SNAPSHOT

2013-06-07 Thread Claus Ibsen
Try a couple of times to test that failed test again to see if it was just a one time error, or it fails everytime on your system. On Fri, Jun 7, 2013 at 9:05 AM, barthorre wrote: > Hi all, > > I just checked out the project from git and am unable to build the project > due to a test failure in T

Re: inherit\extend camel context?

2013-06-07 Thread javamonkey79
https://issues.apache.org/jira/browse/CAMEL-3870 voted for. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/inherit-extend-camel-context-tp5733964p5733982.html Sent from the Camel - Users mailing list archive at Nabble.com.

Unable to build camel-2.12-SNAPSHOT

2013-06-07 Thread barthorre
Hi all, I just checked out the project from git and am unable to build the project due to a test failure in TokenXMLPairMultiNamespaceSplitTest with the following stacktrace java.lang.AssertionError: Assertion error at index 0 on mock mock://split with predicate: body == Camel in Action evaluated

Re: unmarshal().xstream() not working

2013-06-07 Thread Claus Ibsen
There is possible an error in the xstream unarmshal. You can try force loading the file into memory from file convertBodyTo(String.class) unmarshal On Thu, Jun 6, 2013 at 5:42 PM, mchimirev wrote: > I'm trying to unmarshal an xml file with camel. File is created with xStream > and simple