Issue in retrieving CXF SOAP body from activemq queue

2016-03-15 Thread Pradeep Prabhakaran
the code , the paramters to the Spring bean implementing the Web Service is shown as null. I am not sure what is wrong here. Any help in resolving this will be greatly appreciated. Thanks, Pradeep

org.xml.sax.SAXException: FWK005 parse may not be called while parsing.

2015-06-04 Thread pradeep
Hi All, In a load test i am getting the below mentioned exception. org.apache.camel.builder.xml.InvalidXPathExpression: Invalid xpath: /xyzwrapper:WrappedAdoResponse. Reason: javax.xml.xpath.XPathExpressionException at

Re: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.

2015-06-04 Thread pradeep
Hi Claus, One more correction we are using direct-vm component instead of direct component in the below mentioned camel routes. . -- View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXException-FWK005-parse-may-not-be-called-while-parsing-tp5767851p5767860.html

Re: org.xml.sax.SAXException: FWK005 parse may not be called while parsing.

2015-06-04 Thread pradeep
threads used are 10. 2. The CPU has 2 cores We used a third party jaxp-ri-1.4.5.jar for parsing. Regards, Pradeep N -- View this message in context: http://camel.465427.n5.nabble.com/org-xml-sax-SAXException-FWK005-parse-may-not-be-called-while-parsing-tp5767851p5767859.html Sent from the Camel

How to set decrypted db password for camel quartz component

2015-03-22 Thread Nishantha Pradeep
Hi All I am using camel quartz component with Oracle database to fetch and save schedulers. My database username and password are in property file and that property file is set for the component in following way, bean id=quartz class=org.apache.camel.component.quartz.QuartzComponent property

How to get the on exception retry delay from database??

2014-12-17 Thread pradeep
In an on exception cluse how to get the retry delay from database. Here is the scenario 1. Exception caught in on exception clues. We use retryWhile() with a bean to get get the number of retries from database. 2. But not sure how to get the retry delay from databse and set in

Re: Camel-smpp sharing single Smpp Connection for Consumer and Producer in single domain(or namespace)

2014-12-04 Thread pradeep
Hi, Camel smpp internally uses JSMPP library. So you can verify weather JMPP library supports for a single session communication from ESME to SMSC. I believe JSMPP creates a separate session for ESME consumer and ESME producer. So Camel smpp also created two separate connections. Regards,

Re: Preferring bean or processor invocations on a route

2014-09-17 Thread pradeep
They are very similar, but a Processor is more limited than using Beans. We can use Processor for simpler use cases that just interact with the Exchange, etc. Also, inline processors in camel route are a great way to interact in route without having to create a separate class. Beans provide more

Re: Add custom stringproperty to jms message

2014-05-30 Thread pradeep
Hi, In the above code snippet the camel header is set. So when the JMS consumer(WMq consumer) receives the actual message then this camel header will be lost. Instead of camel header you can set camel jms header. Have a look at the camel jms headers details documented in this link:

Re: inter-bundle camel routing

2014-04-09 Thread pradeep
Hi, Yes, you can use camel direct-vm instead of direct component and it is for synchronous behavior. For async communication you can use camel-vm component. Refer this documentation for more info: camel-VM: http://camel.apache.org/vm.html Camel-Direct-vm: https://camel.apache.org/direct-vm.html

Re: Unit testing each route in a large camel context

2014-04-03 Thread pradeep
Hi, Since you are using spring DSL, Instead of copying the routes into test/resources you can directly point the actual routes located in src/main/resources in your test class and to replace the actual endpoints with the mock end point you can use property place holder pointed to separate

Re: Using from(direct:...) to initiate file download -- how to prevent subsequent from()s in the from auto-launching?

2014-02-03 Thread pradeep
Hi, The modified route definition is given below. from(direct:invokeScript) .to(ssh://user:pwd@myurl:22?delay=100pollCommand= + shellCommand) We have to send the set of commands in exchange body to ssh camel component(producer endpoint).

Re: camel-context only seems to work within the same file or do I use it wrong?

2013-09-02 Thread pradeep
Hi, I think you can refer the below mentioned link for creating a service in one blueprint and use the same service in other blueprint. http://www.ibm.com/developerworks/xml/library/os-osgiblueprint/index.html You have to use Service reference managers and Service managers for

Re: Logging into the bundle log file via to(log:...)

2013-08-29 Thread pradeep
Hi, The below mentioned link will be use full for you. http://servicemix.396122.n5.nabble.com/OSGI-Bundle-log4j-td421030.html In you osgi application do you have log4j.xml file? -- View this message in context:

Re: Camel_exception_handling

2013-08-29 Thread pradeep
Hi, I believe the on exception clues will not catch the exception thrown while creating the jaxws:client. Because it catches the exceptions that are triggered with in a camel context. Might be i am wrong. You can use try/catch for catching the exceptions in a

Re: AW: How to called the processor

2013-08-26 Thread pradeep
The below mentioned code snippet works as you expected. CamelContext context = new DefaultCamelContext(); context.addRoutes(new RouteBuilder() { @Override public void configure() throws Exception { from(direct:start).process(new