Re: Using loop EIP to solve a Usecase

2015-06-04 Thread gargankur007
Can I stop the loop in between based on some condition? So I fix the number of iterations to high number and then based on some condition terminate the loop early. -- View this message in context: http://camel.465427.n5.nabble.com/Using-loop-EIP-to-solve-a-Usecase-tp5767874p5767894.html Sent f

Re: camel:context-inflight returns 'Object name cannot be null'

2015-06-04 Thread Claus Ibsen
You can do a log:display-exception to get more details. Also what version of Camel, Karaf are you using. And does some of the other karaf camel commands works? On Thu, Jun 4, 2015 at 2:03 PM, Martin Lichtin wrote: > Trying a new command. > > karaf> camel:context-inflight myCamelContext > Error e

Camel Graceful Shutdown Issue for JMS endpoints

2015-06-04 Thread yogu13
Hello, I am using camel 2.14.1 in karaf with ActiveMQ 5.10. During shutdown process once the embedded broker is stopped, I see that graceful shutdown for routes having jms endpoints are taking a very long time as the endpoint are busy refreshing the JMS connections instead of shutting down(note: t

Re: Processing large files in Camel

2015-06-04 Thread Malolan raman
Hi Claus, I am facing a similar kind of an issue while trying to consume larger files in my application. The parameters i have set for consuming the file is delete=true&readLock=changed&readLockCheckInterval=5000&recursive=true&flatten=true&delay=1 Untill Linux version 5.7 when ever a file

Enrich, Message transformation before endpoint call

2015-06-04 Thread MC
Hi, Is there a way to transform the payload/message being sent to enrich endpoint(rather than passing the actual message). I want to keep the original message untouched while doing the enrichment. I am aware that this can be done using another internal route and do the transformation before cal

Re: Using loop EIP to solve a Usecase

2015-06-04 Thread Claus Ibsen
Hi The loop is for a fixed number of iterators, its not dynamic. Instead you can take a look at dynamic router http://camel.apache.org/dynamic-router.html On Thu, Jun 4, 2015 at 4:44 PM, gargankur007 wrote: > Hi > > I have a usecase in which I have a route which takes m number of rest URLS' > a

RE: How to handle exception within consumer?

2015-06-04 Thread soadb
Thanks for the response. That was kind of what I was looking for as I can now get a reference to the exception from within the consumer now. I still can't get the exception to propagate to the bean that is using the conusmerTemplate however. Throwing the exception from the rollback method doesn'

Re: Camel-fop does not work properly with ServiceMix 5.4.0 - error creating XSL-FO

2015-06-04 Thread vladimir
Resolved. Used bean class="org.apache.xalan.processor.TransformerFactoryImpl" -- View this message in context: http://camel.465427.n5.nabble.com/Camel-fop-does-not-work-properly-with-ServiceMix-5-4-0-error-creating-XSL-FO-tp5767810p5767876.html Sent from the Camel - Users mailing list archive

Using loop EIP to solve a Usecase

2015-06-04 Thread gargankur007
Hi I have a usecase in which I have a route which takes m number of rest URLS' as input and then hits each of these URLS's n number of times each until response code comes out to be 204. So hit a URL until 204 is response code and if it returns 204 move on to next URL and apply same procedure.

Document Style bare WSDL not working in camel cxf

2015-06-04 Thread gargankur007
Hi Below is my sample request " http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";> RMHP " Now when i hit the service it says that gives below fault "http://schemas.xmlsoap.org/soap/envelope/";> soap:Client Unexpec

Re: making a web service work without targetnamespace

2015-06-04 Thread gargankur007
Hi I am using BareStyle Document WSDL and still it is expecting a namespace -- View this message in context: http://camel.465427.n5.nabble.com/making-a-web-service-work-without-targetnamespace-tp5767325p5767866.html Sent from the Camel - Users mailing list archive at Nabble.com.

camel:context-inflight returns 'Object name cannot be null'

2015-06-04 Thread Martin Lichtin
Trying a new command. karaf> camel:context-inflight myCamelContext Error executing command: Object name cannot be null

Re: Can simple() be made to compare strings in a case insensitive way?

2015-06-04 Thread Claus Ibsen
Hi I logged a ticket https://issues.apache.org/jira/browse/CAMEL-8832 We can still consider other alternatives for the operation symbols. On Tue, Jun 2, 2015 at 11:23 PM, Pontus Ullgren wrote: > I would rather see a new operator than changing the behaviour of == > > > On Tue, 2 Jun 2015 at 09:4

Waiting for namespace handlers provided by installed bundle

2015-06-04 Thread Karel Belunek
I am trying to implement Apache Camel route for message signatures as described on the Apache Cookbook there: https://github.com/CamelCookbook/camel-cookbook-examples/blob/master/camel-cookbook-security/src/main/resources/META-INF/spring/signatures-context.xml I am using Karaf 5.7.0 (Part of Talen

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

2015-06-04 Thread Claus Ibsen
Hi Try without your custom jaxp parser - it could be that guy that has a problem On Thu, Jun 4, 2015 at 11:21 AM, pradeep wrote: > Hi Claus, > > Thank you for your reply. Here is my answers: > > 1. The above mentioned route consumes the message from other route, which > consumes the messages fro

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 Sen

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

2015-06-04 Thread pradeep
Hi Claus, Thank you for your reply. Here is my answers: 1. The above mentioned route consumes the message from other route, which consumes the messages from a IBM mq. Ex: from("jms:// mq1?concurrentConsumers=10").log("").to("direct:test") Since the concurrentConsumers are 10 i believe the total

Re: How to avoid direct error message or exception print out put on screen ?

2015-06-04 Thread Claus Ibsen
You can use Camel's error handler http://camel.apache.org/error-handling-in-camel.html For example using onException handled (true) and then create some custom error response message to return such as setting a http status code to 404 etc On Thu, Jun 4, 2015 at 3:59 AM, cloud wrote: > hi all, >

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

2015-06-04 Thread Claus Ibsen
Hi How many threads do you use? And how many cores does the CPU have? On Thu, Jun 4, 2015 at 8:44 AM, pradeep wrote: > Hi All, > > In a load test i am getting the below mentioned exception. > > org.apache.camel.builder.xml.InvalidXPathExpression: Invalid xpath: > /xyzwrapper:WrappedAdoResponse

Re: making a web service work without targetnamespace

2015-06-04 Thread gargankur007
My Sample request is " http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";> RMHP PHBheW1lbnRzPjxwYXltZW50PjxwYXltZW50RGF0ZT4yMDE0LTA3LTAyPC9wYXltZW50RGF0ZT48c291cmNlUmVmZXJlbmNlSWQ+MjA5ODc2NTY0ODc4NTEyNDU0ODc4Nzk8L3NvdXJjZVJlZmVyZW5jZUlkPjxzb3VyY2VSZWZlcmVuY

How to avoid direct error message or exception print out put on screen ?

2015-06-04 Thread cloud
hi all, I am using camel for http proxy , such as : use proxy url FROM http://127.0.0.1:8199/test?chunked=false TO http://192.7.0.54:8081/?bridgeEndpoint=true In debug stage , so ,I shutdown the server's port : 192.7.0.54:8081 . If I visit url http://127.0.0.1:8199/test?chunked=false , t