Re: Sending to Syslog

2014-12-11 Thread Daniel Pocock
On 12/12/14 06:57, Taariq Levack wrote: > Hi Mike > > 2.14.0 camel-activemq is using the 5.10 ActiveMQ client. > > The doc you linked to earlier shows the dependency on camel-syslog, with > maven you just include camel-syslog as a dependency and the data format is > defined in there, along with it'

Is it possible to set the documentType on an XPath in XML DSL (Spring/Blueprint)

2014-12-11 Thread Siano, Stephan
Hi, in Java DSL it is possible to set the documentType on an XPath expression or predicate (that's the type the document is converted to before applying the XPath, not the result type) e.g.: from("file://target/file/xpathsplit") // set documentType to org.xml

Re: Sending to Syslog

2014-12-11 Thread Taariq Levack
Hi Mike 2.14.0 camel-activemq is using the 5.10 ActiveMQ client. The doc you linked to earlier shows the dependency on camel-syslog, with maven you just include camel-syslog as a dependency and the data format is defined in there, along with it's dependencies. If you're not using maven, you need

Re: Throttling based on content in camel

2014-12-11 Thread yogu13
Hello Daniel, We are looking for throttling but with a slight deviation that we limit the concurrent executions for every client and the exceeded ones will have to wait till a free slot is available. Looking at async model doesnt seem to do the trick for us. Thank you! Regards, -Yogesh -- Vi

Re: camel cxfrs with swagger.

2014-12-11 Thread Sergey Beryozkin
On 11/12/14 20:12, gquintana wrote: I don't fully understand your proposal. I thought the problem was /api-docs was not reaching the endpoint at all, so the idea was to make sure it is covered by a "/camel" URI sub-space, part of the endpoint address but then redirect to the swagger endpoint.

Re: camel cxfrs with swagger.

2014-12-11 Thread gquintana
I don't fully understand your proposal. After digging bit, I came to the conclusion that it wasn't the server declaration which was different, but the fact that the consumer was installing the CxfRsInvoker in the server which changed everything. The CxfRsInvoker swallows all requests to produce Ca

Re: Sending to Syslog

2014-12-11 Thread mtod09
Thanks for the response. I get errors when I try using the dataFormats element. Error: "because of Data format 'syslog' could not be created" Seems like there is a Jar missing but I saw no reference to it in the documentation. I

Re: Throttling based on content in camel

2014-12-11 Thread Daniel Pocock
On 11/12/14 16:38, yogu13 wrote: > Hello Williem, > > We would like a lock to be implemented instead of any async delay as the > requirement is to allow X number of processing threads to be allowed for a > particular customer at any given point in time. If the number of requests > exceed X then

Re: State of the camel-cdi component

2014-12-11 Thread Jason Holmberg
That is great news! Thank you for responding. --Jason -- View this message in context: http://camel.465427.n5.nabble.com/State-of-the-camel-cdi-component-tp5760578p5760587.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: State of the camel-cdi component

2014-12-11 Thread Charles Moulliard
Hi Jason, I'm working with Antonin on that new camel-cdi. when the code will be ready it will be integrated with Camel project Regards, On Thu, Dec 11, 2014 at 4:17 PM, Jason Holmberg wrote: > Will the Camel project will officially adopt: > > https://github.com/astefanutti/camel-cdi > > as its

Re: Throttling based on content in camel

2014-12-11 Thread yogu13
on further look at the existing code the startConsumer and stopConsumer can also be used for used instead of locks.. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Throttling-based-on-content-in-camel-tp5760505p5760582.html Sent from the Camel - Users maili

Re: Throttling based on content in camel

2014-12-11 Thread yogu13
Hello Williem, We would like a lock to be implemented instead of any async delay as the requirement is to allow X number of processing threads to be allowed for a particular customer at any given point in time. If the number of requests exceed X then the spilled ones needs to be blocked till any

Re: camel cxfrs with swagger.

2014-12-11 Thread Sergey Beryozkin
Hi You can probably support /camel/api-docs queries and have a pre-matching ContainerRequestFilter adapt camel/api-docs to /api-docs Would that work ? Cheers, Sergey On 11/12/14 14:32, gquintana wrote: Hello, As strange as it may seem, the SwaggerFeature plays well with pure CXFRS, but does

State of the camel-cdi component

2014-12-11 Thread Jason Holmberg
Will the Camel project will officially adopt: https://github.com/astefanutti/camel-cdi as its CDI extension. I have experimented with the 'official' extension available in 2.14.0 and feel that it is lacking much of what it needs to a viable component where as https://github.com/astefanutti/camel

Re: camel cxfrs with swagger.

2014-12-11 Thread gquintana
Hello, As strange as it may seem, the SwaggerFeature plays well with pure CXFRS, but doesn't with Camel CXFRS: In the first case (): the ApiListingResourceJSON does it's job and return the swagger JSON. In the second case (), the ApiListingResourceJSON is not called, the request is not intercep

Re: Starting and stopping routes leak threads

2014-12-11 Thread Bjørn Ellingsen
Oops, updated to 2.14.2 now :) Bjørn E. On 11. des. 2014 14:42, Claus Ibsen wrote: Hi Thanks Camel 2.14.1 is currently being released (in vote) http://camel.465427.n5.nabble.com/VOTE-Release-Camel-2-14-1-td5760558.html So people can help give it a test. So this ticket is target for 2.14.2

Camel-MongoDB: finadAll returns documents in laks - How to improve performance?

2014-12-11 Thread selva
I am using in my camel spring DSl route with mongo findAll operation. My route contains below: ${headers.CamelMongoDbResultTotalSize} > 0 ...mongo insert.. ..mongo update... .. Here I am enabled multi threading option in Splitter EIP pattern. If Mongo returns 1 Lakh records in this ca

Re: Starting and stopping routes leak threads

2014-12-11 Thread Claus Ibsen
Hi Thanks Camel 2.14.1 is currently being released (in vote) http://camel.465427.n5.nabble.com/VOTE-Release-Camel-2-14-1-td5760558.html So people can help give it a test. So this ticket is target for 2.14.2 On Thu, Dec 11, 2014 at 2:19 PM, Bjørn Ellingsen wrote: > Thanks, new issue created: C

Re: Starting and stopping routes leak threads

2014-12-11 Thread Bjørn Ellingsen
Thanks, new issue created: CAMEL-8146. I set 2.14.1 as fix version, but since I don't know the exact release plan (other than Q4) I guess 2.14.2 might be just as good a choice. Bjørn E. On 11. des. 2014 07:34, Claus Ibsen wrote: Hi Thanks for reporting. You are welcome to log a JIRA ticket a

Re: Elasticsearch component - bulk requests with ids

2014-12-11 Thread Claus Ibsen
Hi Sure we love contributions http://camel.apache.org/contributing.html So continue your work, and when you think you got something ready, then you can provide a patch / PR. And we favor unit tests + documentation to be included as well. On Wed, Dec 10, 2014 at 10:49 PM, slush wrote: > Hello! I

Re: jmx- annotated RouteBuilder not showing up in JConsole

2014-12-11 Thread Claus Ibsen
You can also implement the Service interface, you dont need to extend ServiceSupport though that is often favored. On Thu, Dec 11, 2014 at 12:48 PM, dermoritz wrote: > Thanks for this hints. i will try this. > In my case i would need an separate class (my RouteBuilder is extending > RouteBuilder)

Re: Camel-Hive

2014-12-11 Thread Willem Jiang
We don’t have camel-hive component, Do you use camel-jdbc or camel-sql instead? It more like a Hive issue instead of Camel. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁wi

Re: Throttling based on content in camel

2014-12-11 Thread Willem Jiang
We love contribution, please submit your Pull Request once you finish the feature. -- 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 December 11, 2014 at 7:23:22 P

Re: Throttling based on content in camel

2014-12-11 Thread Willem Jiang
On December 11, 2014 at 12:55:03 AM, yogu13 (yogesh@synechron.com) wrote: > > Hi, > > We need to do throttling based on id which is received as part of the > request but what I see that the default implementation of > org.apache.camel.impl.ThrottlingInflightRoutePolicy is based on pre

Re: jmx- annotated RouteBuilder not showing up in JConsole

2014-12-11 Thread dermoritz
Thanks for this hints. i will try this. In my case i would need an separate class (my RouteBuilder is extending RouteBuilder) but that's no problem. in long term it is probably better to have an separate class for jmx controls. -- View this message in context: http://camel.465427.n5.nabble.com/

Re: Throttling based on content in camel

2014-12-11 Thread yogu13
Any thoughts ?? or am i addressing a wrong group here ... We are looking out for this feature in camel and i would be happy to contribute this. Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/Throttling-based-on-content-in-camel-tp5760505p5760556.html Sent

Re: Camel-Hive

2014-12-11 Thread smilevasu6
No one is there to help me on this? -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Hive-tp5760452p5760551.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: cfx web service client error

2014-12-11 Thread dharshan
thanks lot i will check and let you know On Wed, Dec 10, 2014 at 8:42 AM, Willem.Jiang [via Camel] < ml-node+s465427n5760433...@n5.nabble.com> wrote: > You just defined a wrong service name, it could be “s:Service1Soap”, or > “s:Service1Soap12”. > > -- > Willem Jiang > > Red Hat, Inc. > Web: htt

Re: Delayed request processing with Camel Restlet 2.14.0

2014-12-11 Thread Claus Ibsen
Hi I have logged a ticket at restlet to see if they can help. As I suspects its their async handler that may have a problem https://github.com/restlet/restlet-framework-java/issues/996 For Camel 2.14.x I am adding back the sync version, so people can leverage it using synchronous=true. On Tue, D

Re: Apache Camel Mina2 not receiving data using Socket

2014-12-11 Thread Thomas Termin
Hi, tried it also with your Socket Client and works als fine. Thomas On Thu, Dec 11, 2014 at 10:20 AM, Thomas Termin wrote: > Hi, > > just tried the example route builder with mina2 (camel-2.14.0) and it > works fine using telnet as client. > > telnet localhost 6789 > Trying 127.0.0.1... > Con

Re: Apache Camel Mina2 not receiving data using Socket

2014-12-11 Thread Thomas Termin
Hi, just tried the example route builder with mina2 (camel-2.14.0) and it works fine using telnet as client. telnet localhost 6789 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. hallo Bye hallo Connection closed by foreign host. Which camel version do you use? Can you prov