Re: Camel to Webservice call - can't find BindingOperationInfo exception

2013-11-14 Thread Malathi G
I have checked, the operaction name is same. This is my wsdl file ?xml version=1.0 encoding=UTF-8 ? wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:ns1=http://org.apache.axis2/xsd; xmlns:ns=http://service.polaris.com;

how to build camel jmx with maven

2013-11-14 Thread CamelTyro
The version of camel is 2.12.1 The version of Spring is 3.2.4.RELEASE The version of Maven is 3.1.1 My application is start through Tomcat, and the default jmx object such as route, endpoint was published and accessable. When running the junit test in eclipse, the default jmx object such as

Re: XQuery (camel-saxon)

2013-11-14 Thread Willem.Jiang
XQuery suppose to set the result type like this from(direct:start).xquery(concat('mock:foo.', /person/@city), String.class); The default result type is DOM.class. -- View this message in context: http://camel.465427.n5.nabble.com/XQuery-camel-saxon-tp5743206p5743251.html Sent from the

Re: Camel to Webservice call - can't find BindingOperationInfo exception

2013-11-14 Thread Willem jiang
Can you double check the SEI? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On

Re: Loop in Camel - Calling a service till I receive required status back

2013-11-14 Thread cristisor
Maybe I don't see the whole picture, but why wouldn't you do this in the processor? For example: public void process(Exchange exchange) throws Exception { processMessage(); callWebService(JSON); do { // add some kind of sleep or timer task or anything else

Re: Try-Catch in choice-when

2013-11-14 Thread Claus Ibsen
Use onException instead of try .. catch as that is better. On Wed, Nov 13, 2013 at 2:15 PM, Goyal, Arpit arpit.go...@sap.com wrote: Any idea how can I achieve the following? -Original Message- From: Goyal, Arpit [mailto:arpit.go...@sap.com] Sent: Wednesday, November 13, 2013 9:42 AM

Sql component headers and body in query.

2013-11-14 Thread Cecilio Alvarez
Hi, I have the following sql endpoint: to uri=sql:insert into table(id,payload) values(:#Name,xmlparse(document cast(# as clob) preserve whitespace))?dataSource=derby/ It throws java.sql.SQLException: Number of parameters mismatch. Expected 2, was: 1 If I send just headers It works, but I

Re: SJMS failure with stale reply queue

2013-11-14 Thread Claus Ibsen
On Thu, Nov 14, 2013 at 1:50 AM, Scott England-Sullivan sully6...@gmail.com wrote: Hi Harald, First off, I would be hesitant to have multiple SJMS projects. We want to take everyones good work to build a better product overall while keeping Camel as simple and easy to use as possible. WRT

Re: Handling complex, multi-record, single-line pipe-separated text?

2013-11-14 Thread Claus Ibsen
Hi Have you been in touch with beanio project? Maybe there is something they would like to see support out of the box in beanio. Otherwise you may need to write your own code to format the date accordingly. On Thu, Nov 14, 2013 at 3:05 AM, Andrew Thorburn nzi...@gmail.com wrote: First up,

Re: onCompletion not triggerd in testing

2013-11-14 Thread Claus Ibsen
What Camel version do you use? And as always try making simpler unit tests to get it working, eg just a plain onCompletion etc. And in the past there was an bug with using onWhen with onCompletion. So try with latest release of Camel. On Thu, Nov 14, 2013 at 8:58 AM, cristisor

Re: Exposing a Remote Web Service written in Axis2

2013-11-14 Thread madusanka
Hi, I used jetty as suggested. Following is the routing rule. But still an exception is thrown. It says it can't resolve the proxy uri. camel:camelContext xmlns=http://camel.apache.org/schema/spring; camel:route camel:from

Re: onCompletion not triggerd in testing

2013-11-14 Thread cristisor
Hi Claus, I'm using Apache Camel 5.5.1.fuse-70-097 and I have to stick with this version. But as I mentioned above, I have the same route in production and is working just fine, the onCompletion is always triggered and it does its job. The only problem is that I would have liked to have a unit

Re: onCompletion not triggerd in testing

2013-11-14 Thread Christian Müller
Camel 5.5.1 doesn't exist. I think it's the ActiveMQ version... Best, Christian Am 14.11.2013 12:17 schrieb cristisor cristisor...@yahoo.com: Hi Claus, I'm using Apache Camel 5.5.1.fuse-70-097 and I have to stick with this version. But as I mentioned above, I have the same route in

Re: onCompletion not triggerd in testing

2013-11-14 Thread cristisor
My bad, I was looking over the libs of the project and I was tricked by a activemq-camel library. The version is 2.7.3-fuse-00-89. -- View this message in context: http://camel.465427.n5.nabble.com/onCompletion-not-triggerd-in-testing-tp5743163p5743269.html Sent from the Camel - Users mailing

Endpoint pipeline is not working in case of HTTP Endpoint

2013-11-14 Thread vinod.pah...@gmail.com
I have configured a route using Spring DSL. It take input from a direct endpoint to HTTP endpoint. In that case it is working fine. But when I pipe result the from http endpoint to a filter processor using xpath it does not return any value back. I debug the code and I got the exchange that is

Re: Exposing a Remote Web Service written in Axis2

2013-11-14 Thread Henryk Konsek
jetty://http://localhost:8082/services/HelloService due to: No component found with scheme: jetty Missing component scheme == missing jar (or typo in the scheme :) In this case you miss the jar. Here is what you need to add to your POM: dependency groupIdorg.apache.camel/groupId

Re: Problem with exception handler (onException) on Camel 2.12.X routes.

2013-11-14 Thread jguerra
Hi, It was just to check on this thread to see whether this is an issue. Does anybody know a workaround for this problem?, Is this a Camel issue? Thanks -- View this message in context:

Re: Exposing a Remote Web Service written in Axis2

2013-11-14 Thread madusanka
Hi, I have already added the jetty dependency in POM.xml. only the version is different since I'm using ServiceMix 4.5.2. dependency groupIdorg.apache.camel/groupId artifactIdcamel-jetty/artifactId version2.10.5/version /dependency --

Re: Exposing a Remote Web Service written in Axis2

2013-11-14 Thread Claus Ibsen
If you use servicemix then you should install Camel components using features In the ESB shell type: features:install camel-jetty On Thu, Nov 14, 2013 at 1:18 PM, madusanka madusankabalasoor...@gmail.com wrote: Hi, I have already added the jetty dependency in POM.xml. only the version is

Springws component - beginner

2013-11-14 Thread richie.rivi...@gmail.com
Hi, I am about to embark on setting up my project to call soap web services (magento soap services) and process the responses using spring ws. I am thinking spring ws only because I am very comfortable with spring. I know that there is an example camel-example-spring-ws which says that it

Re: Springws component - beginner

2013-11-14 Thread Claus Ibsen
Hi You can check the component pages http://camel.apache.org/spring-web-services.html And calling a spring-ws is likely just to setup spring-ws as in that example, but to use the endpoint in a to. http://camel.apache.org/spring-ws-example.html You can also check the unit tests of

Re: xmljson convert XML from file to JSON straight into MongoDB issue

2013-11-14 Thread Raul Kripalani
Do you see any exceptions? Regards, *Raúl Kripalani* Apache Camel PMC Member Committer | Enterprise Architect, Open Source Integration specialist http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani http://blog.raulkr.net | twitter: @raulvk On Thu, Nov 14, 2013 at 2:51 PM,

Re: xmljson convert XML from file to JSON straight into MongoDB issue

2013-11-14 Thread eholsinger
I've not seen any exceptions. I'll try and grab the console output and post it. -- View this message in context: http://camel.465427.n5.nabble.com/xmljson-convert-XML-from-file-to-JSON-straight-into-MongoDB-issue-tp5743285p5743293.html Sent from the Camel - Users mailing list archive at

Re: Propose add annotation @BeanInject

2013-11-14 Thread Claus Ibsen
I logged ticket https://issues.apache.org/jira/browse/CAMEL-6965 On Wed, Nov 13, 2013 at 8:27 PM, alexey-s alex...@mail.ru wrote: Hi Continue my idea of using annotations. Annotations EJB 3.0 is much easier to read than the xml description of EJB 2.0. Annotations easier to read than the

Re: xmljson convert XML from file to JSON straight into MongoDB issue

2013-11-14 Thread eholsinger
Here's the console output from camel as this was run w/maven...i don't see anything that pops right out. No exceptions anyway. And it does pick up the route and seems to have successfully parsed the data to the endpoint. [pache.camel.spring.Main.main()] DefaultManagementAgent DEBUG

xpath filter question

2013-11-14 Thread John Dubchak
Hi, I am trying to create a JavaDSL route that filters an incoming XML from an ActiveMQ queue. The message is being delivered correctly and I can print it out if I short-circuit it with a processor that dumps the message. However, removing the processor, I cannot seem to get the correct

camel-josql has a dependency in a now nonexistent repo

2013-11-14 Thread kanak
Hi, camel-josql depends on net.sf.josql packages that were previously in http://repo.fusesource.maven2. However, all fusesource repos were migrated recently to jboss: http://repository.jboss.org/nexus/content/groups/fs-public Can you update the pom for camel-josql to point to this new

RouteBuilder from exposing as a ChoiceDefinition rather than a RouteDefinition

2013-11-14 Thread peter.berkman
Please help I have no idea what I'm doing wrong here!: Code from the configure() method: -- View this message in context: http://camel.465427.n5.nabble.com/RouteBuilder-from-exposing-as-a-ChoiceDefinition-rather-than-a-RouteDefinition-tp5743309.html Sent from the Camel - Users mailing

Re: how to build camel jmx with maven to hekonsek

2013-11-14 Thread CamelTyro
I ran a single test with maven, and the jmx objects were published and the resulte is expected. But when run mvn:test, the error occured. -- View this message in context: http://camel.465427.n5.nabble.com/how-to-build-camel-jmx-with-maven-tp5743222p5743311.html Sent from the Camel - Users

Re: how to build camel jmx with maven to Claus Ibsen-2

2013-11-14 Thread CamelTyro
Sorry, when adding this annotation, the jmx objects didn't be exposed, and another exception was raised. The thread blocked at the cyclic barrier has timed out java.util.concurrent.TimeoutException at java.util.concurrent.CyclicBarrier.dowait(CyclicBarrier.java:222) at

Re: camel-josql has a dependency in a now nonexistent repo

2013-11-14 Thread Willem jiang
Don’t worry, I will take care of it today. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem

RE: xpath filter question

2013-11-14 Thread Ravindra.Godbole
Can you share the sample xml message ? Does it have namespace in it ? From: John Dubchak [j...@johndubchak.com] Sent: Friday, November 15, 2013 1:42 AM To: users@camel.apache.org Subject: xpath filter question Hi, I am trying to create a JavaDSL route

RE: xpath filter question

2013-11-14 Thread Reji Mathews
John What is the error? Anything in log? And to which component are u sending the message after removing the processor Reji ravindra.godb...@cognizant.com wrote: Can you share the sample xml message ? Does it have namespace in it ? From: John Dubchak

How to add new router at runtime

2013-11-14 Thread CamelTyro
1. Whether I can add a new router when camel is running? 2. Some days before, we use mule to manage the route infomation, but for some reason, we forward to camel. Can it support the dynamic load router ? -- View this message in context:

RE: Try-Catch in choice-when

2013-11-14 Thread Goyal, Arpit
Hi Claus, Tried two approach but neither of them worked for me (based out of the URL - http://camel.apache.org/exception-clause.html) What I need is when the first When fails, camel should continue to execute the second When. Could you let me know where I am going wrong? Option 1: Defined the

Is there an smart way to write a fixed length flat file?

2013-11-14 Thread suresh_camel
I need to write a collection of beans/entities into a flat file without worrying with convertions, padding, alignment, fillers, etcs For example, I'd like to parse a bean like: public class Entity{ String name = name; // length = 10; align left; fill with spaces Integer id = 123; //

Re: How to add new router at runtime

2013-11-14 Thread suresh_camel
Ya You can do that in camel. Camel Dynamic Route Page http://stackoverflow.com/questions/10451444/add-camel-route-at-runtime-in-java -- View this message in context: http://camel.465427.n5.nabble.com/How-to-add-new-router-at-runtime-tp5743318p5743324.html Sent from the Camel - Users

Camel to Webservice call

2013-11-14 Thread Malathi G
Hi, While routing soap based message to Webservice endpoint, i am getting the following exception. Please help me to correct this exception. *java.lang.InstantiationError: org.apache.cxf.transport.http.HTTPConduit* *Camel code:* public void configure() {

Re: Is camel-cdi component JEE compliant?

2013-11-14 Thread Charles Moulliard
What do you mean by JEE compliant. Camel CDI is a CDI Portable extension developed according to CDI 1.0 spec. Every CDI container supporting this spec will be able to run camel CDI. On Wed, Nov 13, 2013 at 1:34 PM, jhn134...@gmail.com jhn134...@gmail.comwrote: Hello everyone, Thinking about