Re: REST DSL setup - Failed because of multiple consumers

2014-10-21 Thread Willem Jiang
It’s a known issue[1]. Can you try the latest Camel 2.14.1-SNAPSHOT?  It should have the fix of this issue. [1]https://issues.apache.org/jira/browse/CAMEL-7899 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com

Re: Not all processors are listed in JMX, preventing detailed route statistics/profiling

2014-10-21 Thread Charles Moulliard
Hi Blacktie, Can you enable this camel jmx property (registerAlways=true)to see if all the processors are registered and visible within JMX ? Regards, On Mon, Oct 20, 2014 at 7:36 PM, BlackTie jts...@hotmail.com wrote: A mix of processors are missing... to, validate, multicast, log, etc...

Re: camel-jclouds: StackOverflowError if body is FileInputStreamCache

2014-10-21 Thread Willem Jiang
It’s a bug of Camel, I just created a JIRA[1] for it. [1]https://issues.apache.org/jira/browse/CAMEL-7935 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On

Re: Not all processors are listed in JMX, preventing detailed route statistics/profiling

2014-10-21 Thread Charles Moulliard
You could also use breakpoint within the method shouldRegister(Object service, Route route) of DefaultManagementLifecycleStrategy class to check why we return false On Tue, Oct 21, 2014 at 8:24 AM, Charles Moulliard ch0...@gmail.com wrote: Hi Blacktie, Can you enable this camel jmx property

Re: Query paramteres in the REST DSL - Camel 2.14

2014-10-21 Thread Willem Jiang
I’m afraid we don’t support that, do you mind create a JIRA for it? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On October 17, 2014 at 7:54:30 PM, panzerhans

Re: Query paramteres in the REST DSL - Camel 2.14

2014-10-21 Thread panzerhans
I will, and have: https://issues.apache.org/jira/browse/CAMEL-7936 Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/Query-paramteres-in-the-REST-DSL-Camel-2-14-tp5757650p5757831.html Sent from the Camel - Users mailing list archive at Nabble.com.

Private variables not being inspected camel-swagger

2014-10-21 Thread panzerhans
I I expose this class: @ApiModel(value = MyDTO , description = My data transporter) public class MyDTO { @ApiModelProperty(value = This is a private field) private String myPrivateField; } Swagger will not document the class as JSON. I am unsure if this is happening in camel-core, or if

Re: Private variables not being inspected camel-swagger

2014-10-21 Thread panzerhans
NB, this is happening in camel-swagger 2.14.0 -- View this message in context: http://camel.465427.n5.nabble.com/Private-variables-not-being-inspected-camel-swagger-tp5757833p5757834.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Private variables not being inspected camel-swagger

2014-10-21 Thread Charlie Mordant
Hi, What if you expose the service with regular web service (i.e. CXF)? What if you annotate getters? On my side I'm publishing CXFRS services with Swagger jaxb databinding and its working fine... Regards, 2014-10-21 9:15 GMT+02:00 panzerhans espen+ca...@tjonneland.no: NB, this is happening

Re: Private variables not being inspected camel-swagger

2014-10-21 Thread panzerhans
I haven't tried going through CXF. We are trying to be consistent in the route definitions, and the REST DSL is extremely clean and nice in that regards (however still lacking a few features - such as interceptors and query paramteres). -- View this message in context:

LoadBalance for pollenrich

2014-10-21 Thread imranrazakhan
Hi, I have following route and i want to apply loadbalance with failover for pollenrich in route from(jpa:com.test.VasRequest?consumeDelete=falseconsumer.delay=2consumer.namedQuery=selectLoanRequestspersistenceUnit=VasServicePU) .choice()

Camel Splitter EIP

2014-10-21 Thread contactreji
Hi friends I am trying to split my messages using camel splitter. But its a slightly different way of doing things. I have an input file as follows *School DepartmentECONOMICSDepartment Students StudentPaul/Student StudentThomas/Student /Students /School * I want the output

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
I tried doing it this way route from uri=file://C:/Users/re267981/Desktop/input / split streaming=true xtokenize mode=wns:SyncPersonnel/ns:DataArea/ns:Personnel/xtokenize to

Re: Camel Splitter EIP

2014-10-21 Thread Charles Moulliard
Hi, The tag xtokenize/ is not correct. Replace it with tokenize/ Regards, On Tue, Oct 21, 2014 at 11:03 AM, contactreji contactr...@gmail.com wrote: I tried doing it this way route from uri=file://C:/Users/re267981/Desktop/input / split

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
Hi Charles Thanks for you input. I have change to token. But i get errors as *Caused by: org.xml.sax.SAXParseException; lineNumber: 50; columnNumber: 24; cvc-complex-type.3.2.2: Attribute 'mode' is not allowed to appear in element 'tokenize'. at

Re: Camel Splitter EIP

2014-10-21 Thread Charles Moulliard
Hi, The error reported tells you that you can't use the `mode` attribute within the tokenize/ tag. Here is the schema definition ( http://camel.apache.org/schema/spring/camel-spring-2.10.7.xsd). You will simply your life if you use autocompletion for the XML within your IDE studio (Eclipse, ...).

Re: REST DSL setup - Failed because of multiple consumers

2014-10-21 Thread David S
Great, It is working when using 2.14.1-SNAPSHOT. Thanks :-) -- View this message in context: http://camel.465427.n5.nabble.com/REST-DSL-setup-Failed-because-of-multiple-consumers-tp5757805p5757849.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
Thanks Charles My camel xml file looks like * ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:camel=http://camel.apache.org/schema/spring;

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
Hi Charles I also found something called xtokenize on http://camel.apache.org/splitter.html documentation page. Can you suggest how this can be used to my use case? Reji -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Splitter-EIP-tp5757844p5757851.html Sent from

Re: Camel Splitter EIP

2014-10-21 Thread Charles Moulliard
xtokenize is only available since Apache Camel 2.14 as described in the documentation. On Tue, Oct 21, 2014 at 12:06 PM, contactreji contactr...@gmail.com wrote: Hi Charles I also found something called xtokenize on http://camel.apache.org/splitter.html documentation page. Can you suggest

Camel JMS message topic handling

2014-10-21 Thread ddewaele
We were testing ActiveMQ topics with Camel and noticed the following behaviour: - Our Camel route was up and running with an activemq topic consumer. - Messages were published on the topic whle the route is active. - our Camel JMS consumer that was listening on that topic didn't receive all

Re: Camel JMS message topic handling

2014-10-21 Thread Charles Moulliard
Hi, We have different unit tests within the Apache Camel project using a Topic and they work perfectly Which component do you use (camel-activemq, camel-jms or camel-sjms) ? Examples : -

Webdav

2014-10-21 Thread apostle
Hi there,I need to create a webdav proxying route. I found no better solution but extend an HTTP4 component to support Webdav specific operations. My questions are:1. If camel somehow supports webdav?2. If there is no support, if there is better solution than extending the HTTP4 component?3.

Re: Camel JMS message topic handling

2014-10-21 Thread ddewaele
We're using the Camel ActiveMQ endpoint (http://camel.apache.org/activemq.html) and have setup a consumer in our route via the following URI : *activemq:topic:TopicName*. -- View this message in context:

Re: Camel JMS message topic handling

2014-10-21 Thread Minh Tran
I found this similar behaviour as well. http://mail-archives.apache.org/mod_mbox/camel-users/201404.mbox/%3cf54f1c39-dd8a-4c17-a51d-c564f3230...@winning.com.au%3E Appears as though the topic subscription is not guaranteed to happen before the camel context finishes starting up. So if the

Re: Camel JMS message topic handling

2014-10-21 Thread ddewaele
Interesting we had a similar issue with the MQTT endpoint http://camel.465427.n5.nabble.com/Camel-Endpoint-Consumer-startup-td5757635.html There the endpoint was also started (causing TCP connections to be established) before any consumers became active (resulting in loss of messages). I'll