Re: Possible threading issue

2012-06-12 Thread Claus Ibsen
Hi What JDK and OS are you using? And do you know how many cores your CPU has? And can you put together a small app / unit test that triggers this issue on your system? On Mon, Jun 11, 2012 at 8:23 PM, jhart james.h...@nokia.com wrote: Thanks. From: ext jhart [via Camel] [mailto:

Re: sftp to remote server and move ftpied file to other location on remote server

2012-06-12 Thread Claus Ibsen
Hi Also try disabling stepwise, by stepwise=false option. On Tue, Jun 12, 2012 at 6:23 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Tue, Jun 12, 2012 at 12:22 AM, paramjyotsingh paramjyotsi...@gmail.com wrote: I tried this but still same problem. It is not creating temporary file in

Re: Simplest Camel HTTP4 example not working!

2012-06-12 Thread pmcb55
Turns out my code was fine, as it works from my home computer - the problem is that the connection is being refused from my work network for some reason, resulting in the connection timing out. So I guess I'll have to jump down to the HttpClient level now to determine why... -- View this message

Re: No hit during Multicast

2012-06-12 Thread kenhans
yes, I see that my description of the filter is lacking. It's actually a loop like this, where the producers contain filter-methods: MulticastDefinition multicastDefinition = route.multicast().onPrepare(new DocumentDeepClone()); for (Producer producer : producers) { multicastDefinition

Re: No hit during Multicast

2012-06-12 Thread Claus Ibsen
On Tue, Jun 12, 2012 at 12:18 PM, kenhans kenha...@hotmail.co.uk wrote: yes, I see that my description of the filter is lacking. It's actually a loop like this, where the producers contain filter-methods: MulticastDefinition multicastDefinition = route.multicast().onPrepare(new

Re: Simplest Camel HTTP4 example not working!

2012-06-12 Thread soumya_sd
Do you have a proxy that you need to configure ? -- View this message in context: http://camel.465427.n5.nabble.com/Simplest-Camel-HTTP4-example-not-working-tp5714303p5714346.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Simplest Camel HTTP4 example not working!

2012-06-12 Thread pmcb55
Yeah, the root of my problem was simply a proxy setting. Perhaps some improved error reporting from the code would have helped me sort this out a lot quicker (or even just a simple 'Tip:' box in the documentation for the HTTP/HTTP4 component)...! Anyway, I'm progressing now, thanks! -- View this

Re: No hit during Multicast

2012-06-12 Thread kenhans
thanks, Claus, I'm slowly getting there... I think my problem might be more fundamental. If I try to put the AggregationStrategy into the multicast, I am still not able to get a hold of the Exchange. All filters turn out false = no .aggregate is reached. How do I get a handle on that Exchange

Re: Camel Error handling throwing exception; not moving to error queue

2012-06-12 Thread Claus Ibsen
Hi What's the route you use? You have a recipient list somewhere. How have you configured this? On Mon, Jun 11, 2012 at 3:15 PM, javaxmlsoapdev javaxmlsoap...@yahoo.comwrote: using 2.9.2. Could you let me know if there is an issue with such deadLetterChannel setting working with

Re: Camel Error handling throwing exception; not moving to error queue

2012-06-12 Thread Claus Ibsen
Hi I found a bug and logged a ticket https://issues.apache.org/jira/browse/CAMEL-5363 On Tue, Jun 12, 2012 at 3:04 PM, Claus Ibsen claus.ib...@gmail.com wrote: Hi What's the route you use? You have a recipient list somewhere. How have you configured this? On Mon, Jun 11, 2012 at 3:15

Re: No hit during Multicast

2012-06-12 Thread Claus Ibsen
On Tue, Jun 12, 2012 at 2:57 PM, kenhans kenha...@hotmail.co.uk wrote: thanks, Claus, I'm slowly getting there... I think my problem might be more fundamental. If I try to put the AggregationStrategy into the multicast, I am still not able to get a hold of the Exchange. All filters turn out

XML message with file reference

2012-06-12 Thread PAC Kieffer Guillaume
Hi, I am using CAMEL 2.9 with XML DSL and blueprint, I have a design question: I am processing (routing ;) following xml: The XML contains a reference to a specific file. mymessage uri protocolfile/protocol path/mydirectory/myfile.ext/path

Re: XML message with file reference

2012-06-12 Thread Claus Ibsen
On Tue, Jun 12, 2012 at 3:46 PM, PAC Kieffer Guillaume guillaume.kief...@panalpina.com wrote: Hi, I am using CAMEL 2.9 with XML DSL and blueprint, I have a design question: I am processing (routing ;) following xml: The XML contains a reference to a specific file. mymessage uri

Re: add interceptor to a camel context

2012-06-12 Thread Claus Ibsen
Hi You need to add the interceptors to the RoutesDefinition On Tue, Jun 12, 2012 at 11:33 AM, fradj zayen zaye...@gmail.com wrote: Hi all, I'd like to add interceptors to camel context programatically. below some code snippet Camel Context definition: CamelContext camelContext=new

Re: Possible threading issue

2012-06-12 Thread jhart
I'm using Ubuntu 9.10 quadcore dell T3500 machine with 12G memory. java -version java version 1.6.0_20 OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~9.10.1) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) I will work on a simple version of the route, hopefully I can get

RE: Possible threading issue

2012-06-12 Thread jhart
yes From: ext jhart [via Camel] [mailto:ml-node+s465427n5714367...@n5.nabble.com] Sent: Tuesday, June 12, 2012 10:04 AM To: Hart James (Nokia-LC/Malvern) Subject: Re: Possible threading issue I'm using Ubuntu 9.10 quadcore dell T3500 machine with 12G memory. java -version java version 1.6.0_20

RE: XML message with file reference

2012-06-12 Thread PAC Kieffer Guillaume
Hi Claus, Thanks for the hint!! :) Here is the solution: transform xpath resultType=java.lang.String/mymessage/uri/path/text()/xpath /transform transform simple resultType=java.io.File${body}/simple /transform Regards, Guillaume. -Original Message- From: Claus Ibsen

Camel Maven plugin with Spring config jetty server

2012-06-12 Thread B
Hello Gurus, I want to use camel-maven-plugin (camel:dot) to get a visual report of the camel routes defined in my spring application context. org.apache.camel camel-maven-plugin ${camel.version} src/main/resources/applicationContext.xml My applicationcontext.xml has a JNDI datasource reference,

Re: CXFRS + Camel

2012-06-12 Thread krakras
Thanks al lot. Just what I needed, had the same problem while connecting with jetty servicemixConnection.setRequestProperty(Content-type, application/xml); servicemixConnection.setRequestProperty(Accept, application/xml); camelContext

Re: Camel Maven plugin with Spring config jetty server

2012-06-12 Thread Claus Ibsen
You can run the app without that datasource, and have some mocked data source or whatever. eg remove stuff you dont need until the app can startup, so you can generate the diagram. On Tue, Jun 12, 2012 at 4:19 PM, B hello.bku...@gmail.com wrote: Hello Gurus, I want to use camel-maven-plugin

Port already in use when using CXF consumer and jetty

2012-06-12 Thread Castyn
I am getting the following error when deploying a bundle which contains a CXF consumer for a web service as well as a simple jetty endpoint. org.apache.camel.RuntimeCamelException: org.apache.cxf.interceptor.Fault: Could not start Jetty server on port 9,191: Address already in use Here is what

Re: Port already in use when using CXF consumer and jetty

2012-06-12 Thread Willem Jiang
camel-jetty and cxf endpoint cannot share the same jetty server at the same time. You have to change the port to avoid this kind of error. On Wed Jun 13 01:43:52 2012, Castyn wrote: I am getting the following error when deploying a bundle which contains a CXF consumer for a web service as well

Re: CXFRS + Camel

2012-06-12 Thread Willem Jiang
Hi, What's your message looks like ? What's the size of it? BTW, did you have any other components which is using jetty? On Tue Jun 12 22:54:20 2012, krakras wrote: Thanks al lot. Just what I needed, had the same problem while connecting with jetty

Re: jms to http

2012-06-12 Thread Willem Jiang
Hi, You are setting the http endpoint to be bridgeEndpoint which means the request url will be updated with request URI. If you don't need that you can remove the option of bridgeEndpoint. On Tue Jun 12 22:27:27 2012, pchakinala wrote: Hi, We are using SMX 4.4 and Camel 2.8.3. Process flow

Re: Camel Component - Consumer Threading Question

2012-06-12 Thread Edwin
Hi My consumer monitors the state of a vendor product via an API which the vendor provides. My consumer needs to run in its own thread. The logic in the consumer method will look something like: MyConsumer extends DefaultConsumer{ public void method1(){ vendorStatsOK =

Re: XPath Filter not working

2012-06-12 Thread paramjyotsingh
I tried following configurations:- -- convertBodyTo type=java.lang.String / -- convertBodyTo type=String / I have only default namespace xmlns=urn:feed Even with above configurations no luck. Camel version i am using is 2.9.2 -- View this message in context:

Can I use CAMEL with MuleESB?

2012-06-12 Thread yundar
HI I have a question about using camel in MuleESB. While searching ESB , I knew MuleESB. But I don't find how to use together CAMEL in MuleESB. How can I use CAMEL with MuleESB?? Best regards, yk -- View this message in context:

Re: Camel Component - Consumer Threading Question

2012-06-12 Thread Claus Ibsen
On Tue, Jun 12, 2012 at 6:36 PM, Edwin edwin.rabbi...@gmail.com wrote: Hi My consumer monitors the state of a vendor product via an API which the vendor provides. My consumer needs to run in its own thread. The logic in the consumer method will look something like: MyConsumer extends

Re: XPath Filter not working

2012-06-12 Thread Claus Ibsen
On Tue, Jun 12, 2012 at 9:02 PM, paramjyotsingh paramjyotsi...@gmail.comwrote: I tried following configurations:- -- convertBodyTo type=java.lang.String / -- convertBodyTo type=String / I have only default namespace xmlns=urn:feed Then you use a namespace, and you must map that to your

Re: Can I use CAMEL with MuleESB?

2012-06-12 Thread Claus Ibsen
Hi Mule ESB is really only intended to run Mule stuff. Using Camel in Mule is not a first class choice as Mule has its own EIP, components etc. But as Mule is based on Tomcat, you should be able to deploy a WAR file with Camel embedded. On Wed, Jun 13, 2012 at 4:45 AM, yundar yun...@gmail.com