Re: Bug in Splitter Implementation? (Camel 2.8.3)

2012-06-02 Thread Claus Ibsen
On Sun, Jun 3, 2012 at 4:30 AM, barry_allen wrote: > Ok, just saw these: > > http://grokbase.com/t/camel/users/1197q01xk7/unmarshal-csvdataformat-different-behavior-for-one-or-multiples-lines > > https://issues.apache.org/jira/browse/CAMEL-4440 > > Fixed in 2.9.0... Unfortunately I can't upgrade r

Re: Bug in Splitter Implementation? (Camel 2.8.3)

2012-06-02 Thread barry_allen
Ok, just saw these: http://grokbase.com/t/camel/users/1197q01xk7/unmarshal-csvdataformat-different-behavior-for-one-or-multiples-lines https://issues.apache.org/jira/browse/CAMEL-4440 Fixed in 2.9.0... Unfortunately I can't upgrade right now. Is there any way that I would be able to evaluate the

Bug in Splitter Implementation? (Camel 2.8.3)

2012-06-02 Thread barry_allen
Hello. If I feed a CSV file that contains *multiple* rows into my route (which contains a splitter), each exchange message body comes back with a List type (for each row of the CSV file), which is good. If I pass in a CSV with *one* row, then the exchange message body comes back with a String type,

Re: changing context path in OSGI from "/cxf" to "/"

2012-06-02 Thread Willem Jiang
Maybe you can setup some kind of proxy to delegate the request to a right service. In this way CustomerB service will not be accessed by CustomerA. On Sun, Jun 3, 2012 at 6:02 AM, Christian Müller < christian.muel...@gmail.com> wrote: > Hello Sergey, hello Dan! > > Thanks for your responses. In

Re: changing context path in OSGI from "/cxf" to "/"

2012-06-02 Thread Christian Müller
Hello Sergey, hello Dan! Thanks for your responses. In the meantime, we changed the service URL's in our service which now has a servicePath: http:// :/servicePath/serviceName But now we are struggling with another "issue": Imagine you provide a web service ServiceA (JAX-WS based on CXF bean defi

Re: migration camel attachment problem

2012-06-02 Thread Christian Müller
Hello Mathieu! You should start here [1]. You didn't provide enough information for us to start digging into your problem. >From which version to which version did you upgrade? You didn't mention you use Apache Camel. You may consider to post this question on the Apache CXF user list? I didn't und

Re: Why is this not possible with the twitter component in Camel 2.10 ?

2012-06-02 Thread Christian Müller
"twitter://search" is only supported in the camel-twitter consumer -> from("twitter://search?...") Have a look at the source code or the unit tests... Best, Christian On Fri, Jun 1, 2012 at 7:25 PM, soumya_sd wrote: > I'm trying to use Camel twitter component. > http://camel.apache.org/twitter.

Re: org.apache.camel.RuntimeCamelException: java.io.FileNotFoundException: Cannot find resource in classpath for URI

2012-06-02 Thread Scott England-Sullivan
Yes. It was applied to both. On Jun 2, 2012, at 9:16 AM, pitani wrote: > Scott, do you mean that this problem is fixed in 2.9.3-SNAPSHOT?? > > Thanks, > Ramesh Pitani > > -- > View this message in context: > http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-java-io-File

Re: Input directory with multiple file consumers

2012-06-02 Thread Claus Ibsen
On Thu, May 31, 2012 at 5:29 PM, Raf wrote: > Hi Henryk, > > hekonsek wrote >> You share the directory using distributed file system, don't you? :) > > During testing I was just running multiple instances on my local machine on > a local directory, but in production you are right about the distrib

Re: Camel SMPP Retry at startup

2012-06-02 Thread Claus Ibsen
Hi Have you seen the option lazySessionCreation http://camel.apache.org/smpp You should be able to set it to true, and then on connect on demand. On Sat, Jun 2, 2012 at 4:46 PM, cannotcode wrote: > Hi, > > I have just created a simple application that gets a request from a servlet > and forwar

Re: Splitting a stream from a servlet

2012-06-02 Thread Claus Ibsen
On Tue, May 29, 2012 at 10:39 PM, erstanl wrote: > All, I have a camel servlet that is consuming an XML stream. I currently have > it splitting that stream successfully. The problem is that I need to split > it multiple times. There are 2 sections in the stream that I am interested > in. Once I ha

Re: org.apache.camel.RuntimeCamelException: java.io.FileNotFoundException: Cannot find resource in classpath for URI

2012-06-02 Thread pitani
Scott, do you mean that this problem is fixed in 2.9.3-SNAPSHOT?? Thanks, Ramesh Pitani -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-java-io-FileNotFoundException-Cannot-find-resource-in-classpaI-tp5713557p5713849.html Sent from the Ca

Re: Camel OSGi services component

2012-06-02 Thread Sergey Zhemzhitsky
Hi Claus, Recently docs and integration tests of the component have been updated. I suppose it's ready for now and all missing pieces and features can be added later. Regards, Sergey > On Wed, May 30, 2012 at 8:41 PM, Sergey Zhemzhitsky > wrote: >> Hi Claus, >> >> The  component  can  be  u

Camel SMPP Retry at startup

2012-06-02 Thread cannotcode
Hi, I have just created a simple application that gets a request from a servlet and forwards it to SMPP component (I am using DSL for configuration). The problem is, I guess SMPP component wants an available smpp connection at startup. If you start the smpp simulator after you start your camel app

Re: org.apache.camel.RuntimeCamelException: java.io.FileNotFoundException: Cannot find resource in classpath for URI

2012-06-02 Thread Scott England-Sullivan
I see they also backported it to the 2.9.3-SNAPSHOT. Best Regards, Scott ES On Wed, May 30, 2012 at 9:56 PM, pitani wrote: > Scott, > > Thank you very much for working on my problem. I will make changes to > schema > files until 2.10.0 is released. > > Thanks, > Ramesh Pitani > > -- > View this

Re: Delaying start of Endpoint's Producer

2012-06-02 Thread Claus Ibsen
On Wed, May 30, 2012 at 2:38 PM, Alex Anderson wrote: > I have a Producer attached to an Endpoint which takes some time to > initialise.  Currently there is a bug that the Producer.produce() > method can be passed messages while the Endpoint is still > initialising. > > Would a correct solution to

Re: xstream unmarshalling suddenly stopped working

2012-06-02 Thread Claus Ibsen
Hi Have you dont any changes on SMX since this started to happend? eg installed a new application, refresh some bundles etc. Anyway have you tried restarting ServiceMix? On Fri, Jun 1, 2012 at 9:49 PM, lmuser wrote: > I am using servicemix 4.4.1.  I have the following data format in my > bluepr

Re: Redeliveries and direct endpoints

2012-06-02 Thread Claus Ibsen
Hi Can you explain better what you want? In Camel redeliveries happens at the last node that caused the error. Not from the very beginning. On Thu, May 31, 2012 at 4:59 PM, developpef wrote: > Hello, > > Here is my problem : > > My routes are : > > From(file://).to().to().to("direct:next"); >

Re: Why is this not possible with the twitter component in Camel 2.10 ?

2012-06-02 Thread Claus Ibsen
Hi I suggest to look at the unit tests to find samples how to do this. On Fri, Jun 1, 2012 at 7:25 PM, soumya_sd wrote: > I'm trying to use Camel twitter component. > http://camel.apache.org/twitter.html > > I want to create a route like - > >                from("direct:twitter-search").to( >

Re: Welcome to my blog mainly about Apache Camel

2012-06-02 Thread Claus Ibsen
Hi Michael Welcome as well. I added a link to your blog from the Camel articles page (takes a bit to be updated) On Fri, Jun 1, 2012 at 5:11 PM, michal.warecki wrote: > Hi All! > > I am very happy that I can invite you to my new blog about open source SOA > (mainly about Apache Camel) and BPA.

Re: Camel 2.6.0

2012-06-02 Thread Claus Ibsen
Hi Yes from the ASF download page. http://camel.apache.org/download See the _older releases_ section. On Thu, May 31, 2012 at 1:35 PM, domiko wrote: > Hey, > > Does anybody know were we can get version 2.6.0 of Camel. > > Regards, > D > > > -- > View this message in context: > http://camel.46

Welcome to my blog mainly about Apache Camel

2012-06-02 Thread michal.warecki
Hi All! I am very happy that I can invite you to my new blog about open source SOA (mainly about Apache Camel) and BPA. I will try to regularly write interesting articles so visit this blog often :-) http://michalwarecki.blogspot.com/ Any suggestions and comments are very welcome! -- View this

Re: How can FTP Component connect to FTP Server via GXS Proxy

2012-06-02 Thread James Carman
Have you tried it? Check out the documentation at: http://camel.apache.org/ftp2.html Connecting to FTP with Camel is pretty easy. Give it a whirl. Perhaps check out some of the test cases here: http://svn.apache.org/repos/asf/camel/trunk/components/camel-ftp/src/test/java/org/apache/camel/comp

Re: Difference Between ActiveMQ and Camel

2012-06-02 Thread James Carman
I think it's important to keep in mind that Camel isn't just about JMS. It's an integration framework which supports MANY integration technologies (files, database, email, raw sockets, twitter, etc.). On Thu, May 31, 2012 at 3:33 PM, Donald Whytock wrote: > Actually I more often hear of Camel be

migration camel attachment problem

2012-06-02 Thread mathieuJ
hello, i did a migration of my apache cxf. Now , i have a problem with the receiption of attachments. instead of receive one attachement, i get 2, but the good one is bad. response soap: http://schemas.xmlsoap.org/soap/envelope/";> http://www.suravenir.fr/ws/edition";> http://www.w3.org/20

Redeliveries and direct endpoints

2012-06-02 Thread developpef
Hello, Here is my problem : My routes are : From(file://).to().to().to("direct:next"); From("direct:next").to().onException().maximumRedeliveries()... I need, in case of error, to redeliver message from "direct:next". But it seems that this mecanism needs to redeliver from a producer endpoint (

Camel 2.6.0

2012-06-02 Thread domiko
Hey, Does anybody know were we can get version 2.6.0 of Camel. Regards, D -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-6-0-tp5713783.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: org.apache.camel.RuntimeCamelException: java.io.FileNotFoundException: Cannot find resource in classpath for URI

2012-06-02 Thread pitani
Scott, Thank you very much for working on my problem. I will make changes to schema files until 2.10.0 is released. Thanks, Ramesh Pitani -- View this message in context: http://camel.465427.n5.nabble.com/org-apache-camel-RuntimeCamelException-java-io-FileNotFoundException-Cannot-find-resource-

Re: Best Practice for splitting on header?

2012-06-02 Thread dunnlow
Thanks for your response; I'm sorry I don't fully understand your example. I looked at recipient list, but that seems to be for sending to multiple endpoints vs. a single endpoint with a mutated value. Basically, I'd like to loop through the values in a "split" header and send a message to the sa

Re: Camel OSGi services component

2012-06-02 Thread Claus Ibsen
On Wed, May 30, 2012 at 8:41 PM, Sergey Zhemzhitsky wrote: > Hi Claus, > > The  component  can  be  used right now without any additions, but I'd > like to include some integration tests which will check that: > > 1. Any camel processor (even not included into the camel route) can be > published i

Re: Camel FTP/SFTP check instead of download

2012-06-02 Thread Claus Ibsen
On Wed, May 30, 2012 at 6:12 PM, Nestor Urquiza wrote: > Hi Claus, > > I just created https://issues.apache.org/jira/browse/CAMEL-5320 > > Thanks again for your suggestions. I think for now I found how to rely on > the clustering capabilities of my current tomcat sticky session deployments > for l

Re: using aggregator - camel 2.6.0

2012-06-02 Thread greendaycriss
Hello Henryk, thank you for you're time attached is my pom configuration, maybe you figure out from this Best Regards, Cristian http://camel.465427.n5.nabble.com/file/n5713742/pom.xml pom.xml -- View this message in context: http://camel.465427.n5.nabble.com/using-aggregator-camel-2-6-0

Re: Salesforce Component - Design Questions

2012-06-02 Thread Claus Ibsen
On Wed, May 30, 2012 at 1:28 PM, megachucky wrote: > I do not understand: > > I shall use another existing Camel component to create a new component, e.g. > camel-restlet or camel-ahc? > Why and how? I do not have routes inside the component source code for using > these endpoints? Besides, a new

Re: doTry/doCatch with original message

2012-06-02 Thread Claus Ibsen
On Wed, May 30, 2012 at 2:09 PM, Jens wrote: > > Jens wrote >> >> >> Claus Ibsen-2 wrote >>> >>> Hi >>> >>> Have you tried enabling stream caching? >>> http://camel.apache.org/stream-caching.html >>> >> >> Yes, and I also tried converting the message to a String right away but >> neither change he