Re: i am getting exception org.apache.cxf.interceptor.Fault: org/apache/camel/CamelContext

2014-07-16 Thread ishwar
actually i am using the apache-tomee-jaxrs as server. and i included this two library camel-core-2.12.1 camel-mail-2.12.1. so its work.try it. -- View this message in context:

Re: weaveById - works with 2.13.1, not with 2.14-SNAPSHOT

2014-07-16 Thread Claus Ibsen
Hi Yeah but the tests in camel-spring would likely fail. That commit fixes some issues when using xml dsl to define routes (spring or blueprint) On Tue, Jul 15, 2014 at 8:19 PM, Matt Raible m...@raibledesigns.com wrote: FWIW, all tests pass in camel-core with this change reverted. [INFO]

Re: Using xpath inside an exchange

2014-07-16 Thread Claus Ibsen
Hi You can use xpath builder, see http://camel.apache.org/xpath.html Something like Integer num = XPathBuilder.xpath(/numbers/month/ca/text()).evaluate(original, Integer.class); On Tue, Jul 15, 2014 at 2:46 PM, Licia alicia.pari...@gmail.com wrote: Hi everyone ! I'm still new to

Re: weaveById - works with 2.13.1, not with 2.14-SNAPSHOT

2014-07-16 Thread Matt Raible
I believe you. However, it seems it also creates an issue when using the Java DSL. At least from a testing perspective. On Jul 16, 2014, at 1:04, Claus Ibsen claus.ib...@gmail.com wrote: Hi Yeah but the tests in camel-spring would likely fail. That commit fixes some issues when using

Re: weaveById - works with 2.13.1, not with 2.14-SNAPSHOT

2014-07-16 Thread Claus Ibsen
Yes and as I said, you are welcome to provide an unit test / sample project / github project or whatever that reproduces the issue. That helps us fix the issue. On Wed, Jul 16, 2014 at 9:11 AM, Matt Raible m...@raibledesigns.com wrote: I believe you. However, it seems it also creates an

Rename/ categorize a custom mbean

2014-07-16 Thread dermoritz
I annotated (@ManagedResource, @ManagedAttribute...) the consumer and producer of my custom component. While i see the consumer under consumers in jconsole i can't find the producer (http://stackoverflow.com/questions/24755796/how-to-expose-camel-producer-with-jmx) Is there a way to give an

Re: No bean could be found in the registry for JNDI Look up using EJB Component

2014-07-16 Thread Deekay
Pleasure. Have fun !!! Dwiti -- View this message in context: http://camel.465427.n5.nabble.com/No-bean-could-be-found-in-the-registry-for-JNDI-Look-up-using-EJB-Component-tp5749335p5753901.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to expose camel producer with jmx

2014-07-16 Thread dermoritz
I think i identified the producer in question. It is the one of the to processors. The problem is that this one seems to completely ignore the annotations. The processor exposes same attributes and other stuff like all other to processors while my annotated consumer only exposes those stuff i

Re: weaveById - works with 2.13.1, not with 2.14-SNAPSHOT

2014-07-16 Thread Claus Ibsen
Hi Also you could try on your end, by removing that continue code at ProcessorDefinitionHelpe line 253 https://github.com/apache/camel/commit/b08edf391bddb99078f15966394ac264440ffce9#diff-4cb94818eb1df1901b1c8278bd278ba7R253 And do a local build and test with your use-case On Wed, Jul 16,

Re: How to expose camel producer with jmx

2014-07-16 Thread Claus Ibsen
Hi Yes as I said Camel producers are not enlisted in JMX by Camel. But as its just JMX you could manually enlist it in JMX. We could start enlisting Camel producers in JMX as we do for consumers during startup. The reason we didnt do that in the past was that we would enlist any Camel producer

Re: About acquiring endpoints and using setters on them

2014-07-16 Thread Claus Ibsen
Hi If you mix url and then mutate the endpoint, then those changes are on the same instance. If you want to configure an endpoint using java only, then use the new constructor, and then there is a addEndpoint on CamelContext if you want to register it in the Camel endpoint registry. That would

Re: How to expose camel producer with jmx

2014-07-16 Thread dermoritz
Thanks for clarification. But as its just JMX you could manually enlist it in JMX. Does this mean i can't use the provided annotations and do jmx completely manual? Or is there a way to use the annotations and do just the enlist manual? -- View this message in context:

Give setHeader a non-constant value

2014-07-16 Thread Licia
Hello everyone, I encountered a problem. I would like to pass to setHeader a non-constant expression, but I can't seem to manage to do it. My *route* looks like that : //My own function that works well int monthId = getLastIdFromBasis(); //Transforming xml into database from

Package Camel application for running in weblogic

2014-07-16 Thread sergarci
Hi! I need to package my camel application (built with Maven camel 2.13.1 and Srping using Spring DSL). This application was suposed to be standalone but now I need to run in a Weblogic server. I there any tutorial or known example to package it into a ear and deploy it in weblogic? I'm lost at

Re: camel-example-docs does not work

2014-07-16 Thread j00ris
Hi Claus, Thanks for the info. Is there a replacement for this deprecated functionality? E.g. another way to generate Graphviz diagrams about routes? -- Joris Vanhoof - -- View this message in context:

Re: camel-example-docs does not work

2014-07-16 Thread Claus Ibsen
There is a JMX API that outputs the Camel routes in xml format. There is a dumpRoutesAsXml on the camel context mbean. This is what the karaf camel commands uses, and also what hawtio and fuse ide etc uses to visualize running Camel apps. The old dot code kinda did the same but they were using

Re: Package Camel application for running in weblogic

2014-07-16 Thread Claus Ibsen
Hi I would try with just plain WAR files and deploy your app as that in WebLogic. http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html On Wed, Jul 16, 2014 at 2:11 PM, sergarci serga...@gmail.com wrote: Hi! I need to package my camel application (built with Maven camel

Re: Give setHeader a non-constant value

2014-07-16 Thread Claus Ibsen
setHeader(foo, constant(bar)) is setting a fixed value. For the message body / headers etc use the simple language http://camel.apache.org/simple setHeader(foo, simple(${body})) etc On Wed, Jul 16, 2014 at 1:57 PM, Licia alicia.pari...@gmail.com wrote: Hello everyone, I encountered a

Camel + ActiveMQ shutdown timeout problem

2014-07-16 Thread cristisor
Hello, We are using ServiceMix as a container, with an embedded ActiveMQ broker and some Camel routes deployed as JBI service assemblies. ServiceMix is registered as a Windows service, so when the server machine shuts down, the service is also shut down. The current timeout set on ServiceMix is

Re: Package Camel application for running in weblogic

2014-07-16 Thread sergarci
Thanks I'll take your advise :) -- View this message in context: http://camel.465427.n5.nabble.com/Package-Camel-application-for-running-in-weblogic-tp5753915p5753920.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-restlet : multithreading issues + can't trigger answer

2014-07-16 Thread A577127
Thanks for the answer. Wiretap works fine to trigger the answer with a basic route. For restlet, I managed to get more threads with : (not sure of the difference with setMinThreads but it does work) -- View this message in context:

Re: About acquiring endpoints and using setters on them

2014-07-16 Thread dermoritz
Thanks Claus, So If you mix url and then mutate the endpoint, then those changes are on the same instance. means that this is normal behavior and should work on all Endpoints (using setters on an endpoint should work and overwrite setting done by uri). So the only exception should be the

blocking a route due to external conditions

2014-07-16 Thread Robert Rich
Hi folks, Just getting started with Camel and EIP/ESB/integration in general. I have several processes that include a shared portion that is not thread-safe. Right now I have routes for each variant of the process that consume its trigger (schedule, ad hoc, conditions, etc), build a message

Having problems with the onException DSL.

2014-07-16 Thread Matt Sicker
http://camel.apache.org/exception-clause.html So according to the documentation, using an onException inside a RouteBuilder means that it will apply globally. Now I'm assuming this means globally within a single CamelContext, first of all. However, when I create a RouteBuilder that only has

Bridging from JMS to DIRECT without sending the JMS Reply in the DIRECT

2014-07-16 Thread RMA
Hi all, I'm bit lost with a given task that I've been given as I'm a still a newbie regarding Apache Camel. I'll provide a brief overview of the scenario and the problem. I have a Camel Route that has two endpoints. The first one receives messages from a JMS queue, umarshalls the message, sends

Re: Camel to invoke Webservice hosted on dot net

2014-07-16 Thread Amol choudhari
Hi Willem,Could you help us with demo project for consumption of WCF service through CXF endpoint. It would be of a great help.!!! -- View this message in context: http://camel.465427.n5.nabble.com/Camel-to-invoke-Webservice-hosted-on-dot-net-tp473869p5753929.html Sent from the Camel - Users

Re: JSON - Jackson return list rather than POJO

2014-07-16 Thread yourboogieman
I am being held up by this problem also, and I have an idea of how to fix it. I'm going to have a crack at CAMEL-5604. I'll keep you all posted (pun intended) :) -- View this message in context:

Re: Camel-restlet : multithreading issues + can't trigger answer

2014-07-16 Thread Willem Jiang
You can find more information about the thread setting from the restlet java doc[1]. I will update the camel-restlet wiki page shortly. [1]http://restlet.com/learn/javadocs/2.1/jee/engine/org/restlet/engine/connector/BaseHelper.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com

Re: Camel to invoke Webservice hosted on dot net

2014-07-16 Thread Willem Jiang
Please check out this document[1] for more information. [1]http://cxf.apache.org/docs/developing-a-consumer.html -- 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

Dispatch queue 'mqtt client' was not executing error from camel-mqtt producer

2014-07-16 Thread Tomohisa Igarashi
Hi, I'm trying to use camel-mqtt producer on camel 2.12.2 but it fails with the error: -- Caused by: java.lang.AssertionError: Dispatch queue 'mqtt client' was not executing, (currently executing: 'mqtt client') at

SOAP Error Message org.apache.cxf.binding.soap.SoapFault

2014-07-16 Thread Jaishankar
Please help me How to handle the SOAP fault exception... ? and let me know how to retry till for 15min and stop the bundle? //My route from(timer://foo?RepeatCount=1).process(BeginrequestProcessor)