JMS Component WebSphere/MQ Connection issues

2012-10-23 Thread Patrick Bray
Hi All, I am running an Apache Camel application inside of WebSphere Application Server v7. Background: Our application uses the Camel JMS component to retrieve a JMS connection factory from JNDI and uses this to receive messages from a Remote WebSphere MQ Bus: CACHE_NONE

Re: Polling Consumer and a Producer

2012-10-23 Thread zuff
Hi Chrisitian, Yes. I am expecting multiple responses, as i have to poll several folders for the results for a single message. Your example provide fresh perspective that should be able to help me resolve the issue. I managed to break up the routes but still have to use a workaround to temporary

Re: "Cannot store file" with file component

2012-10-23 Thread Christian Müller
Try: Upgrading to Camel 2.10.2 Remove the noop option Configure a full qualified path Best, Christian Sent from a mobile device Am 23.10.2012 15:56 schrieb "domenico" < domenico.lorenze...@credit-suisse.com>: > I am at loss again with Camel, or moreover with the File2 component. I have > the fol

Re: java.lang.ClassNotFoundException: org.apache.camel.CamelExchangeException

2012-10-23 Thread Christian Müller
Contains your OSGI package imports "org.apache.camel"? Best, Christian On Tue, Oct 23, 2012 at 7:08 PM, yuribit wrote: > I've also tried this sintax but I got the same error. > > > > > > > org.apache.camel.spring.processor.onexception.OrderFailedException > >

Re: Polling Consumer and a Producer

2012-10-23 Thread Christian Müller
If I understood you right, you want to send one message to a topic and expect multiple responses which you want to aggregate. In this case, InOut is not the right MEP. What's about this: from("...") .inOnly("activemq:topic:one.request"); from("activemq:topic:one.request?clientId=client_1&durab

Re: Logging level for Spring framework

2012-10-23 Thread Martin Stiborský
Hello, On Mon, Oct 22, 2012 at 9:18 PM, Hilde wrote: > Hello, > > why do you incorporate > > log4j.logger.org.springframework= ... > > instead of > > log4j.logger.my.injected.bean.namespace=... > Yep…believe me, I tried that, I have there explicitely the package with log level a specified append

Re: java.lang.ClassNotFoundException: org.apache.camel.CamelExchangeException

2012-10-23 Thread yuribit
I've also tried this sintax but I got the same error. org.apache.camel.spring.processor.onexception.OrderFailedException true If I use java.lang.Except

Re: SOAP WebService call

2012-10-23 Thread Willem jiang
You can let camel invoke the WebService by using the WebService client you generated in the bean[1] or Processor[2]. Then you don't need to use SOAP data bind or camel-cxf any more. [1]http://camel.apache.org/bean.html [2]http://camel.apache.org/processor.html -- Willem Jiang Red Hat, Inc. F

SOAP WebService call

2012-10-23 Thread Chris Pro
Hello I'm new to Camel. I read many articles about Camel included "http://camel.apache.org/soap.html";. But I don't get the hang of it, how to call a Soap-WebService . I just want to call a Soap WebService, when a file is moved from directory "inbox" to "outbox". The file movement is working wit

Re: Camel, websockets and Javascript

2012-10-23 Thread Bilgin Ibryam
I have build an application with Camel using websockets, and bootstrap for the UI - livephotostream.com In that application all the static files are actually on different server (amazon s3) and they interact with the camel application (on EC2) using websockets. Using an in memory component to agg

"Cannot store file" with file component

2012-10-23 Thread domenico
I am at loss again with Camel, or moreover with the File2 component. I have the following route: mvn compile works fine. The I start Jetty "mvn jetty:run" and the service comes up ok. I can request the WSDL no problem using "?wsdl". When sending a SOAP request using SoapUI, the route gets exe

Re: camel-ftp: option localWorkDirectory doesn't work properly on windows

2012-10-23 Thread Hilde
Many thanks! -- View this message in context: http://camel.465427.n5.nabble.com/camel-ftp-option-localWorkDirectory-doesn-t-work-properly-on-windows-tp5721438p5721456.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel-ftp: option localWorkDirectory doesn't work properly on windows

2012-10-23 Thread Claus Ibsen
Hi Thanks I have created a ticket about this. https://issues.apache.org/jira/browse/CAMEL-5737 The localWorkDir option wasn't working as expected with the from ftp -> to file use-cases. On Tue, Oct 23, 2012 at 11:44 AM, Hilde wrote: > *What Camel version do you use? * > /Apache Camel 2.10.0/ >

Re: Best practise for deploying my app with Karaf

2012-10-23 Thread Achim Nierbeck
Another option, the one I would prefer, create your own distribution. It's pretty straight forward, create a features.xml of your bundles and the ones needed. Now create another project using this features xml and the features-maven-plugin with the add-features-to-repo goal. Now you are able to ass

Best practise for deploying my app with Karaf

2012-10-23 Thread Urppa
I'm working on an application that has roughly 6-8 OSGi-bundles written by us. Then we have around 40-50 OSGi-bundles as dependencies from our bundles. Our application environment will be internal network with no internet access. The Karaf-instances hosting the application will be running in quite

Re: Choice with xpath

2012-10-23 Thread Raul Kripalani
Hi German, This is more of an XPath question rather than a Camel-related one, but here goes the answer. Do you have multiple occurrences of element 'a'? The double slash traverses the entire input and returns all elements with name 'a' regardless of where in the document they are. Anyway, try th

Re: camel-ftp: option localWorkDirectory doesn't work properly on windows

2012-10-23 Thread Hilde
*What Camel version do you use? * /Apache Camel 2.10.0/ *What does the route do? * /The route starts as a ftp-consumer endpoint, sends messages to another route via seda: to get infos about the current downloading process and finally copies the file to a directory via file-producer endpoint. The

Re: camel-ftp: option localWorkDirectory doesn't work properly on windows

2012-10-23 Thread Claus Ibsen
Hi What Camel version do you use? What does the route do? And what version of Windows And what JDK version? On Tue, Oct 23, 2012 at 11:20 AM, Hilde wrote: > Hello Claus! > > we don't do anything with the file and trust on Camel technique. > > Hilde > > > > -- > View this message in context: >

Re: camel-ftp: option localWorkDirectory doesn't work properly on windows

2012-10-23 Thread Claus Ibsen
On Tue, Oct 23, 2012 at 9:48 AM, Hilde wrote: > Hello folks! > > We are using an ftp-consumer route for downloading big data. For avoiding an > OutOfMemoryException we > decided to use the option /localWorkDirectory/ with the consequences to have > just a file handle as an exchange > body (payload

camel-ftp: option localWorkDirectory doesn't work properly on windows

2012-10-23 Thread Hilde
Hello folks! We are using an ftp-consumer route for downloading big data. For avoiding an OutOfMemoryException we decided to use the option /localWorkDirectory/ with the consequences to have just a file handle as an exchange body (payload) instead of loading the whole file. As our tests indicate