Re: Load Balancer is a vitamine or a poison for a basic use case

2011-10-31 Thread Willem Jiang
With the help of Load Balance , you can start three instances to consume the message at the same time. But It is interesting your system is using file :). On Tue Nov 1 09:29:12 2011, H Paul wrote: "A vitamine is a medicine for one man and poison for another." I am not sure if Load Balancer is

Re: Camel + Peaberry on Karaf

2011-10-31 Thread Jean-Baptiste Onofré
Hi Raman, I didn't try Camel and Guice Peaberry together. If you perform camel:route-stop, do you see the route status changed ? Is the behavior the same if you stop the context ? Regards JB On 10/31/2011 11:13 PM, Raman Gupta wrote: Hi, I'm using camel for a project. My environment is Karaf

Re: camel-cxf service publish address problem

2011-10-31 Thread Willem.Jiang
As you are using the http jetty transport, when you set the address to be "http://0.0.0.0:8890/ProcessPrescriptionOrder";, you should be able to get the wsdl with the url "http://localhost:8890/ProcessPrescriptionOrder"。 0.0.0.0 just let Jetty to listen to all the network interface. Willem -- Vi

camel-cxf service publish address problem

2011-10-31 Thread gsilverman
I have a camel-cxf application running in Tomcat behind a proxy with the following camel-cxf.xml: I would like to change "myservername:8890" in the endpoint address attribute to "localhost:8890", but it doesn't work, i.e, I can't get to the wsdl at the published endpoint URL (with"?wsdl" appende

Camel + Peaberry on Karaf

2011-10-31 Thread Raman Gupta
Hi, I'm using camel for a project. My environment is Karaf 2.2.4, with Guice 3.0 (API version 1.3) and Peaberry 1.2 for service injection. Because camel-guice only supports Guice 2.0, and seems to have no built-in support for Peaberry, I'm rolling my own OSGi compatible camel environment. I'm ope

Re: Problem running camel-example-cxf-osgi

2011-10-31 Thread Ioannis Canellos
The spring bundles have a lot of optional imports and in some cases when installing features causes all there refreshes, which may result in such errors. In some cases the order may help you with this. I find that when using equinox instead of felix, things work somehow better. -- *Ioannis Canel

Re: route pulling message by query

2011-10-31 Thread Ioannis Canellos
I think that things could be more easy for you if instead of having a "tap" queue, you used a short of cache (e.g. camel-cache). You could use camel-cache and camel-activemq to store the tap message to the cache and the result message to activemq. >From there you could consume message from activem

Re: Problem running camel-example-cxf-osgi

2011-10-31 Thread Daniel Kulp
You likely need to install the various featuers in a different order.I would try doing: features:install war features:install cxf features:install camel-spring features:install camel-jaxb features:install camel-cxf The cxf feature should pull in the full JAXB-API jars and such and POSSIBLY

route pulling message by query

2011-10-31 Thread pkleczka
Hi I am using ActiveMQ 5.4.2 and Camel 2.4.0. *Short description:* I am wondering how, using some headers from messages in a route I can pull another related message from a tap queue at the same time. *Long description:* I have a message that comes into a "request" queue, and is copied into a "re

Re: Problem running camel-example-cxf-osgi

2011-10-31 Thread Glen Mazza
Thanks--that worked--sort of. Making your recommended changes now reports the following error when I do "features:install camel-cxf": karaf@root> features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.8.2/xml/fe atures karaf@root> features:install war karaf@root> features:install camel-spr

Re: Spliter in Camel

2011-10-31 Thread ebinsingh
Thanks a lot all of you. As you may see the code in above in this thread, I am splitting based on the new line token and sending it to a bean. I noticed som gap in the processing times. I 5 messages beeing processed in a single millisecond and there is a gap of 15 milliseconds before the next 5 m

Re: Validation supporting schemas with includes?

2011-10-31 Thread Daniel Kulp
On Sunday, October 30, 2011 11:21:41 PM Christian Müller wrote: > I wanted to add the missing unit test for handling multiple schema file, > but it doesn't work. :-( > I made a test where a root schema file imports a nested schema file. Bot > schema file was valid. But I got an exception by starti

Re: Apache Camel 2.9.0-RC1

2011-10-31 Thread Hadrian Zbarcea
Yes, I am rebuilding it today. Thanks, Hadrian On 10/31/2011 09:08 AM, bvahdat wrote: Hi, as a Apache Camel user I intend to upgrade to the 2.9.0 Release as soon as availabe @ the Maven-Repo, so that I wonder if is there any plan for a second try of the 2.9.0-RC1 in the near future: http://cam

Apache Camel 2.9.0-RC1

2011-10-31 Thread bvahdat
Hi, as a Apache Camel user I intend to upgrade to the 2.9.0 Release as soon as availabe @ the Maven-Repo, so that I wonder if is there any plan for a second try of the 2.9.0-RC1 in the near future: http://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-2-9-0-RC1-td4942935.html Regards, Baba

Camel ftp read next file after close connection

2011-10-31 Thread alexey-s
Hi. There is an error with ftp server. Many files on the server. All files have no time to be processed. When the processing of the next file, the process stops. Error - The request is a file after closing the connection. Camel version 2.8.1 Camel config route: Open FTP connection: Close F

Re: Camel WS example

2011-10-31 Thread Willem Jiang
If you want to put the response to file, you should define the route like this ( message.xml has soap request ? ) On Mon Oct 31 17:01:18 2011, Gnanaguru S wrote: Hi Is there any simple camel example which can read from web service. I will be more comfortable if it was through camel-b

Re: Contract first approach (using WSDL) to create a WS using cxf and route using camel

2011-10-31 Thread smehta34
Hi, Thanks for reply. I tried that example before and it was build successfully but when I put that zip file in the Webapp folder of Tomcat and deployed it and after giving address in the browser "http://localhost:8080/camel-example-cxf-tomcat-2.5.0/webservices/incident?wsdl"; it was showing this

Camel WS example

2011-10-31 Thread Gnanaguru S
Hi Is there any simple camel example which can read from web service. I will be more comfortable if it was through camel-blueprint. If i am using blueprint, Then how i will be directing soap request. ? http://0.0.0.0:8080/there"; wsdlUrl="file://path/to/your/wsdl" serviceClass="the_serv

Re: Contract first approach (using WSDL) to create a WS using cxf and route using camel

2011-10-31 Thread Claus Ibsen
Hi Check the CXF Tomcat example http://camel.apache.org/cxf-tomcat-example.html On Mon, Oct 31, 2011 at 8:26 AM, smehta34 wrote: > Hi, > > I want to create a WS using contract first approach. I have WSDL with me. I > want a WS which when invokes send some data to an XML file using Camel. > > I w

Contract first approach (using WSDL) to create a WS using cxf and route using camel

2011-10-31 Thread smehta34
Hi, I want to create a WS using contract first approach. I have WSDL with me. I want a WS which when invokes send some data to an XML file using Camel. I want to deploy it in Tomcat Server. I am new to Camel. Please help out. Regards, Sachin Mehta -- View this message in context: http://came

Re: Basic from fp to file route: Need clarification. 1M Thanks.

2011-10-31 Thread Claus Ibsen
Hi You can provide the name of the file to download as a parameter to the ftp uri. "ftp://localhost/testfolder/?username=MYUSERNAME&password=MYPASSWORD&localWorkDirectory=/tmp&binary=true?fileName=soap.xml"; Then you do not need to use the choice. The Camel FTP consumer (eg when you do from("ft

Re: pollEnrich consumer with selector

2011-10-31 Thread Claus Ibsen
On Mon, Oct 31, 2011 at 4:58 AM, rspeter wrote: > Good day Claus, > > I did get this dynamic URI working by following the consumer template java > bean example. > Thank you very much for your prompt replies. > Glad you got it working. I created a ticket so we can support this in the future. But

Re: Two different transactionmanagers on same route

2011-10-31 Thread Charles Moulliard
Hi David, You can configure the Camel JMS consumer component as a transactional client (see camel 2.0 - jms / http://camel.apache.org/transactional-client.html) and Camel route with option (Camel 2.0 - Database Sample / http://camel.apache.org/transactional-client.html). In this scenario, 2 Tx ma