Camel Conduit and Camel Jetty components

2013-08-18 Thread contactreji
Hey pals.. I am currently trying to build some simple examples which involves sending request to a webservice using a cxf Endpoint.. Currently I have sent a request to the already shipped example with jbossfuse called SOAP. Could somebody help me understand SSL securing the webservice and the

Re: Odd AMQ Transaction Behavior

2013-08-18 Thread Claus Ibsen
For spring to rollback the TX it has to have a runtime exception being throw from its doInTransaction method. So Camel does that under the hood. The stacktrace you see at what level is it logged? It may be logged at DEBUG level or possible Spring itself logging it, and not Camel? On Fri, Aug 16,

Producer template and spring xml defaultendpoint error

2013-08-18 Thread Maurice
Using camel 2.11.0, Karaf 2.3.1. with blueprint. I am trying to send multiple messages using a custom processor to a tx-transacted jms endpoint with a ProducerTemplate according to l http://camel.apache.org/how-do-i-write-a-custom-processor-which-sends-multiple-messages.html . XML: template

Re: Producer template and spring xml defaultendpoint error

2013-08-18 Thread Babak Vahdat
Hi I guess you should adjust your XML namespace as you make use of Blueprint and not Spring, so instead of: camelContext xmlns=http://camel.apache.org/schema/spring; Try it with: camelContext xmlns=http://camel.apache.org/schema/blueprint; Babak Maurice wrote Using camel 2.11.0, Karaf

Re: Producer template and spring xml defaultendpoint error

2013-08-18 Thread Claus Ibsen
Make sure the order where you put template is correct. You can validate the XML with the blueprint schema. Most moderns IDEs can do this for you. Eg in IDEA I just right click - validate On Sun, Aug 18, 2013 at 1:20 PM, Maurice maur...@betzel.net wrote: Using camel 2.11.0, Karaf 2.3.1. with

Re: Camel Conduit and Camel Jetty components

2013-08-18 Thread Willem jiang
You can do some configuration on the cxf conduit[1] and jetty engine[2] for the SSL security. [1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html [2]http://cxf.apache.org/docs/jetty-configuration.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red

Re: Producer template and spring xml defaultendpoint error

2013-08-18 Thread Maurice
To my knowledge this is complete: ?xml version=1.0 encoding=UTF-8? blueprint xmlns=http://www.osgi.org/xmlns/blueprint/v1.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:cml=http://camel.apache.org/schema/blueprint;

How o integrate Camel with Glassfish OpenMQ

2013-08-18 Thread rkgn
How to integrate Camel with Glassfish OpenMQ -- View this message in context: http://camel.465427.n5.nabble.com/How-o-integrate-Camel-with-Glassfish-OpenMQ-tp5737478.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Producer template and spring xml defaultendpoint error

2013-08-18 Thread Babak Vahdat
No, to my knowledge this is NOT complete :-) as you just provide a PARTIAL snapshot of your Blueprint and then expect people to understand what is going wrong in your App. Would you mind to share the whole thing with us, example the /blueprint closing tag is missing by your provided config.

Re: How o integrate Camel with Glassfish OpenMQ

2013-08-18 Thread Claus Ibsen
Hi Just search the web and you can find links with this being discussed in the past, for example http://camel.465427.n5.nabble.com/Apache-Camel-Integration-with-Open-MQ-Glassfish-td5678620.html On Sun, Aug 18, 2013 at 3:01 PM, rkgn rekhanair...@gmail.com wrote: How to integrate Camel with

how do i parse a DSL

2013-08-18 Thread Ernest Lu
hi If I have a DSL like this : route id=cool from uri=direct:start/ to uri=mock:result/ /route how do i parse the DSL which is stored in an external file to generate a route,then add it into the context. Best Regards -- View this

The jar package dependency problem

2013-08-18 Thread yiwang
Camel on osgi development route, need to be camel-http-2.11.1. Jar to join in, but need to rely on org.apache.commons.httpclient (version = [3.1.0, 4.0.0)), and then I downloaded the commons-httpclient-3.1-osgi. Jar to join in, but still lack the rely on, this is how to return a responsibility,

Re: camel-spring-batch 2.11.1 breaks previous working routes

2013-08-18 Thread David Karlsen
Can you provide a strippped down project or unit test that shows the error? 2013/8/16 Gardella juan gardellajuanpa...@gmail.com Hi all, I've used camel-spring-batch from a while. I recently upgrade from 2.11.0 to 2.11.1 and the route that use camel-spring-batch have failed. I detect that

Re: The jar package dependency problem

2013-08-18 Thread Willem jiang
How did you deploy the camel into the OSGi platform? What's the issue that you ran into? I didn't quite understand you question. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com

How to make Spring XML routing to be automatically reloaded

2013-08-18 Thread javag
I have defined most everything in XML including routing rules and broker startup that has quite a few schema locations using Camel 2 and ActiveMQ 5.8. It works fine. But I need the program to pick up any changes made to XML file without having to restart the program. How can I achieve that? I am

Re: How to make Spring XML routing to be automatically reloaded

2013-08-18 Thread Willem jiang
I think you can reload the routing.xml just like this[1] [1]http://forum.springsource.org/archive/index.php/t-55148.html -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com

Re: how do i parse a DSL

2013-08-18 Thread Willem jiang
Please check out this link[1] for more information. [1]http://camel.apache.org/loading-routes-from-xml-files.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com

Re: The jar package dependency problem

2013-08-18 Thread yiwang
My goal in eclipse to build a platform, the platform is based on the added in accordance with the osgi specification bundles on the equinox, wants to use camel routing on the platform, I need to add the camel-core-2.11.1.jar,javax.servlet-2.5.0.jar,camel-http-2.11.1.jar and so on, such as the

Re: Conditional routing and local variables

2013-08-18 Thread Willem jiang
I think you need to fill the gap of design time and run time. Usually, Camel predicate just check the run time exchange to decide to return true or false. But you can write a custom Predicate just check the localVar value and ignore the exchange parameter to implement the route feature that you

[BLOG] Camel Routing Engine Part I

2013-08-18 Thread Christian Posta
Hey all, for those interested, I put together some notes about how the routing engine converts RouteDefinitions to Routes. Camel Routing Engine Part I http://www.christianposta.com/blog/?p=323 Hope it's useful to someone. Christian -- *Christian Posta* http://www.christianposta.com/blog

Re: Why can not get the data

2013-08-18 Thread yiwang
At present camel route:from(http://localhost:8080/wms/query_all_handlover_note?type=source;).to(file:d:/temp/outbox?fileName=data1.txt) can run successfully. thank you. -- View this message in context: http://camel.465427.n5.nabble.com/Why-can-not-get-the-data-tp5737243p5737494.html Sent

Java DSL / GroovyExpression / Binding

2013-08-18 Thread mailingl...@j-b-s.de
Hi all! Is there any chance to extend the binding of a GroovyExpression? Currently (in camel 2.11.1) the Groovy binding is defined on runtime based on the exchange only and I did not find an extension point. My current solutions is to use a GroovyExpression2 class which is a copy of the