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

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 messag

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: http://camel.465427.n5.nabble.com/Camel-JMS-message-topic-handling-tp5757853p5757857.ht

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. Could

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 : - https://github.com/apache/camel/blob/master/components/camel-jms/src/test/java/org/apache/camel/component/jms/

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 messag

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 wrote: > Hi Charles > > I also found something called xtokenize on > http://camel.apache.org/splitter.html documentation page. > > Can you suggest how this can be

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 the

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
Thanks Charles My camel xml file looks like * http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns:jaxws="http://cxf.apache.org/jaxws"; xmlns:http-conf="http://cxf.apache

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 Charles Moulliard
Hi, The error reported tells you that you can't use the `mode` attribute within the 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, ...). Regards,

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 com.sun.org.apache.xerces.internal.util

Re: Camel Splitter EIP

2014-10-21 Thread Charles Moulliard
Hi, The tag is not correct. Replace it with Regards, On Tue, Oct 21, 2014 at 11:03 AM, contactreji wrote: > I tried doing it this way > > > /> > > mode="w">ns:SyncPersonnel/ns:DataArea/ns:Personnel >

Re: Camel Splitter EIP

2014-10-21 Thread contactreji
I tried doing it this way ns:SyncPersonnel/ns:DataArea/ns:Personnel Is this the correct way? I also get an error a

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 * ECONOMICS Paul Thomas * I want the output as follows * ECONOMICS Paul * And another recor

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=false&consumer.delay=2&consumer.namedQuery=selectLoanRequests&persistenceUnit=VasServicePU") .choice()

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: http://camel.465427.n5.n

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 : > NB, this is happening in camel-swagger 2.14.0 >

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.

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, o