Re: XPath expression inside doTry()

2010-06-09 Thread M.Ismail
Thanks for your help Claus. I am now using a single onException clause with a workaround which is setting the source endpoint type in the header so that I can take different actions (processors) according to the message origin. Its working fine for now and I find out that I need to handle some spe

Re: camel-ftp problems with ftps implicit mode

2010-06-09 Thread Bengt Rodehav
Thanks for your reply Willem, I've tried various combinations of camel features. Right now I use the "camel" feature (plus camel-ftp since that's what I'm trying to test). In runtime I can see the camel-core, camel-spring and the camel-ftp bundles installed and active. I manage to create an OsgiDe

Re: How to invoke specific operation with params for cxf webservice endpoint through configuration

2010-06-09 Thread Willem Jiang
The parameters are put into the message body, you can find the example here[1] [1] http://camel.apache.org/cxf.html#CXF-HowtopreparethemessageforthecamelcxfendpointinPOJOdataformat Willem StonePeng wrote: but where can i set the params of the operation willem.jiang wrote: Hey, You just

Re: How to invoke specific operation with params for cxf webservice endpoint through configuration

2010-06-09 Thread StonePeng
but where can i set the params of the operation willem.jiang wrote: > > Hey, > > You just need to change the part which your operation name. > > Willem > StonePeng wrote: >> thanks, usha Kanteti: >> in my use case ,i want to config the operation name and its param in xml >> instead of writin

Re: How to invoke specific operation with params for cxf webservice endpoint through configuration

2010-06-09 Thread Willem Jiang
Hey, You just need to change the part which your operation name. Willem StonePeng wrote: thanks, usha Kanteti: in my use case ,i want to config the operation name and its param in xml instead of writing soap msg by hand,how can i do it in cxfEndpoint xml or camelContext xml? where can i set

Re: How to invoke specific operation with params for cxf webservice endpoint through configuration

2010-06-09 Thread StonePeng
thanks, usha Kanteti: in my use case ,i want to config the operation name and its param in xml instead of writing soap msg by hand,how can i do it in cxfEndpoint xml or camelContext xml? where can i set these contents? myOperation in the above xml, is the content of "headerName" operatio

Re: camel-ftp problems with ftps implicit mode

2010-06-09 Thread Willem Jiang
Hi Bengt, Did you use the apache camel feature of the Camel 2.4-SNAPSHOT ? If so, you just need to install the feature of camel, it includes the camel-core feature and camel-spring feature. And you can still use org.apache.camel.osgi.CamelContextFactory to create the camel context :) Wille

Transactional JMS Route Constantly Opening/Closing Connections

2010-06-09 Thread tbarnes
Transactional JMS Route Opening/Closing Connections I would like to setup a route that utilizes transactional delivery of JMS messages to avoid dropping messages in the event of server failures. To do this I have utilized the Camel Transaction documentation to set up transactional routes (Camel v

Re: camel-ftp problems with ftps implicit mode

2010-06-09 Thread Bengt Rodehav
Claus, I have now managed to build Camel version 2.4-SNAPSHOT. However, I can't get my application to work on that version. I'm using Karaf 1.6.0 for deployment and something has definitely changed in Camel regarding OSGi. I haven't figured out how to use Camel 2.4-SNAPSHOT in Karaf yet. Maybe you

Re: How to invoke specific operation with params for cxf webservice endpoint through configuration

2010-06-09 Thread usha Kanteti
I use camel 2.2 and I read it somewhere that it can be done in the following way http://activemq.apache.org/camel/schema/spring";> myOperation

Re: Camel splitter

2010-06-09 Thread Claus Ibsen
Well you gotta show the method signature to us, as we cant see your problem when you dont show that. And sometimes you have to converter/adapt the message payload yourself if the components store data in complex types. On Wed, Jun 9, 2010 at 3:26 PM, marcin80 wrote: > > Hi, > > I'm using Camel

Re: XPath expression inside doTry()

2010-06-09 Thread Claus Ibsen
On Wed, Jun 9, 2010 at 11:13 AM, M.Ismail wrote: > > Now I am getting this error: > > "The method when(XPathBuilder) is undefined for the type TryDefinition > MyRouteBuilder.java     /Migration-simple-router/src/main/java/tutorial line > 135" > I think that it is "only" accpeted if > Here is my ro

Re: How to handle failed splitted message

2010-06-09 Thread Claus Ibsen
On Wed, Jun 9, 2010 at 9:55 AM, lekkie wrote: > > I have tried to get this book without success. > > I live in Nigeria and credit card from there are not allowed on your site, > as such I cant use a payment card, paypal is not allowed as well. > > Is there alternative for me like bank transfer or

camel-ibatis

2010-06-09 Thread Arvydas
Hi all. As a newcomer to camel I would be very grateful if you helped me. The problem is with camel IBATIS component. I am making the simple camel ibatis component which selects information from database table, deletes it from same database table and sends the information to http provider. All

Camel splitter

2010-06-09 Thread marcin80
Hi, I'm using Camel v.2.2. I have a problem with splitter. This code Splitter's input data come from jdbc component - query returns two table's columns. ${in.body} doesn't works as I expect. Method test of my bean is invoked with String's argument type. Foll

RE: Bindy

2010-06-09 Thread Pitre, Russell
Ok just might take a stab at it. Thanks. -Original Message- From: Christian Müller [mailto:christian.muel...@gmail.com] Sent: Tuesday, June 08, 2010 6:02 PM To: users@camel.apache.org Subject: Re: Bindy Hello Russ, I'm afraid, there is no undocumented pattern to remove whitespaces. I

Re: Bindy - CsvRecord( separator = "|" )

2010-06-09 Thread DSailor
It works perfectly - Thanks! DSailor wrote: > > Our project is considering using Camel and most our feeds are currently > pipe separated files. > While testing Camel-bindy I managed to use different separators, > nevertheless, when using the Unix pipe separator, Bindy comes with an > exception

Bindy - CsvRecord - handling bad records on batch processing

2010-06-09 Thread DSailor
My use case says I should process a set of records - delivered via file. If any of the records has one of more fields which cannot be unmarshalled (example: text field which cannot be converted to Integer), then, the record should be placed in an exception queue (EIP pattern - Dead Letter Channel)

RE: Is there an EIP for this sort of sequencing problem?

2010-06-09 Thread Taariq Levack
Oh nevermind, batch resequencing in a single JVM with failover will do the trick. -Original Message- From: Taariq Levack [mailto:taar...@itaro.co.za] Sent: 09 June 2010 01:46 PM To: users@camel.apache.org Subject: Is there an EIP for this sort of sequencing problem? Hi I'm just wonderin

Is there an EIP for this sort of sequencing problem?

2010-06-09 Thread Taariq Levack
Hi I'm just wondering if there's a cleaner way of dealing with a sequencing matter using Camel. The client has the requirement that the messages it sends should be processed in order. They also require that there should be no single point of failure, which is what I'd get with a hardware conte

Re: Routing of SOAP messages from a web service consumer to a web service provider

2010-06-09 Thread Willem Jiang
Freeman had already answered this question. You need to make sure the camel-cxf jar is in your class path. Willem StonePeng wrote: what is the answer about this question. i want to ask the same question, help Freeman Fang wrote: Hi Mirko, The error comes from missing camel-cxf component o

Re: How to invoke specific operation with params for cxf webservice endpoint through configuration

2010-06-09 Thread Willem Jiang
Hi, CAMEL-2780 addressed this issue by introducing a defaultOperationName option for you. It's a new to camel 2.4.0, please feel free to try out the latest camel 2.4-SNAPSHOT for it. [1]https://issues.apache.org/activemq/browse/CAMEL-2780 Willem StonePeng wrote: what is the answer about th

Re: Routing of SOAP messages from a web service consumer to a web service provider

2010-06-09 Thread StonePeng
what is the answer about this question. i want to ask the same question, help Freeman Fang wrote: > > Hi Mirko, > > The error comes from missing camel-cxf component on the classpath, add the > dependency into your pom should fix it. > Best Regards > > Freeman > > On 1/28/08, mhi wrote: >>

Re: How to invoke specific operation with params for cxf webservice endpoint through configuration

2010-06-09 Thread StonePeng
what is the answer about this question. i want to ask the same question, help usha Kanteti wrote: > > Hi Ashwin, > Is there anywhere to specify ( to call specific method of web-service) > like operationName="sayHello" in the following > That's what my question is. > > address="http://

Re: XPath expression inside doTry()

2010-06-09 Thread M.Ismail
Now I am getting this error: "The method when(XPathBuilder) is undefined for the type TryDefinition MyRouteBuilder.java /Migration-simple-router/src/main/java/tutorial line 135" I think that it is "only" accpeted if Here is my route: from("jetty:http://0.0.0.0:9000/";) .doTr

Re: Expression Attributes

2010-06-09 Thread Olivier Roger
Thank you Willem, Maybe there is an other way to do what I am trying to do: My route receives XML-based messages containing a Metadata element. This element can contain any number of just like a Map data structure. An XMLBeans class is available to deserialize the element into a POJO Metadata O

Re: How to handle failed splitted message

2010-06-09 Thread lekkie
I have tried to get this book without success. I live in Nigeria and credit card from there are not allowed on your site, as such I cant use a payment card, paypal is not allowed as well. Is there alternative for me like bank transfer or something? I'd appreciate alternatives. Regards. Claus