Active MQ - Camel Digital signature verification not working with ActiveMQ 5.10

2014-11-11 Thread ahmad.abed
Environment : Windows 7 64 Bit java version 1.7.0_21 ActiveMQ 5.10 with camel 2.13.1 using following camel route is failed during (crypto:verify) : route id=TestSSL trace=true from uri=activemq:queue:SSLTEST.ssl1 / to

Re: Best way to discard changes made to Exchange by invoked route

2014-11-11 Thread Claus Ibsen
See this FAQ http://camel.apache.org/why-is-my-message-body-empty.html On Tue, Nov 11, 2014 at 8:22 AM, Camel Guy ca...@devguy.com wrote: Hi Claus, Thanks for the pointer! This program logs INFO hello followed by an empty INFO message. I would like the second logged message to also be INFO

Re: Camel Restlet with Swagger

2014-11-11 Thread Liliana.Neagul
Hi, I'm trying to use Rest DSL for generating documentation for swagger. Do you know how to add a description for every parameter from URI, or how can I use query parameters. like: http://host/resource?*limit*=100 (where limit, is considered query parameter). I found a Jira issue that query

Re: Active MQ - Camel Digital signature verification not working with ActiveMQ 5.10

2014-11-11 Thread Claus Ibsen
Hi Follow the steps on this page, at how to get help first http://camel.apache.org/support On Tue, Nov 11, 2014 at 8:29 AM, ahmad.abed ahmad.a...@gmail.com wrote: Environment : Windows 7 64 Bit java version 1.7.0_21 ActiveMQ 5.10 with camel 2.13.1 using following camel route is failed

Local Tab - could not discover local jvm processes

2014-11-11 Thread Ravi Gupta 7
Hi, I am using hawtio-app-1.4.19.jar (tries 1.4.17 / 1.4.19). When I click on the Local Tab. I got the message: Local Tab - could not discover local jvm processes. I also notice that Dashboard tab is also coming with boundaries only. I tried to remove all cached files too. It was working

Re: CXF webservice deployment on glassfish

2014-11-11 Thread Willem Jiang
Can you check if you put the cxf-rt-http jar into your class path? -- 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 November 11, 2014 at 5:48:55 AM, sab12in

Re: Local Tab - could not discover local jvm processes

2014-11-11 Thread Claus Ibsen
Hi You should ask at the hawtio user forum / community http://hawt.io/community/index.html And btw we fixed a bug in the connector plugin recently, so its advised to upgrade to newer release. On Tue, Nov 11, 2014 at 9:29 AM, Ravi Gupta 7 rgupt...@sapient.com wrote: Hi, I am using

Re: Support for CXF dispatch api in the latest release of camel

2014-11-11 Thread santoshdas1984
Hi , Could you please elaborate a bit more about the Camel CXF endpoint. We dont want to use the spring based configuration as we are evaluating this for our product The same reason we have used CXF For e.g. For Ws-Addressing we are using the dispatch api as follows import static

Camel JMS consumer route start / stop issues

2014-11-11 Thread sushil_vsk5
Hello All: I have a Camel route listening to a JMS queue (HornetQ). If I suspend the route, I see messages piling up in the queue and when I resume it, the messages get processed and the route instances completely successfully However, if I stop the route and start it again, I see that even

Re: Active MQ - Camel Digital signature verification not working with ActiveMQ 5.10

2014-11-11 Thread ahmad.abed
Thanks for the reply, Kindly guide me to proceed with the solution as i didnt find any related issues in the How to get help -- View this message in context: http://camel.465427.n5.nabble.com/Active-MQ-Camel-Digital-signature-verification-not-working-with-ActiveMQ-5-10-tp5758880p5758900.html

Re: camel-leveldb : U​n​a​b​l​e​ ​t​o​ ​c​o​n​f​i​r​m​ ​e​x​c​h​a​n​g​e​I​d

2014-11-11 Thread weebl
Using Camel 2.13.2, I get the same warning, not sure why it is happening. Looks to be aggregating fine, but having issues with Completed exchanges that are regarded as recoverable. -- View this message in context:

Proxying RESTful service using the REST DSL :Camel 2.14.0

2014-11-11 Thread zeecamel
I am new to Camel, I want to proxy my RESTful webservice so I can provide additional output formats on top of json and xml. I then used the REST dsl for this and RestConfiguration component is jetty. My Real webservice uses JaxB and Jackson httpconvertters. At the moment I was just doing a

Re: [HEADS UP] - camel-scr for OSGi with pure Java in Camel 2.15

2014-11-11 Thread Claus Ibsen
Hi Just a note that Jyrki did some more code contributions, so I have just pushed his latest changes to the master branch. Its this PR which has a summary of changes https://github.com/apache/camel/pull/329 On Sun, Nov 9, 2014 at 9:42 AM, Claus Ibsen claus.ib...@gmail.com wrote: Hi There is

problem/glitch/bug in file component?

2014-11-11 Thread dermoritz
in my camel app (standalone jar, guice) i have 2 routes that use/create a file buffer. So there are routes like this from(someEndpoint).do split or other processing.to(file:/bufferFolder) from(file:/bufferFolder).to(otherEndpoint) In many cases i want to set the file name. In one case i include

start camel routes based on URI

2014-11-11 Thread ayilliath
Hi, I have a few routes defined in Spring DSL, set to autoStartup=false. Also have a bean that extends EventNotifierSupport implements CamelContextAware where conditionally I'd like to start a few routes. I am able to start these up using getCamelContext().startRoute(id); Was wondering if I

Re: Best way to discard changes made to Exchange by invoked route

2014-11-11 Thread Camel Guy
Hi Claus, Thank you again for your reply. Unfortunately I did not see anything in that FAQ that relates to my problem. From route A, I am invoking route B (serially) that deletes a header key. I would like the header key to exist for route A afterwards even though route B deleted it. Using a

Re: Best way to discard changes made to Exchange by invoked route

2014-11-11 Thread Claus Ibsen
You can store information as exchange properties and they stick around On Tue, Nov 11, 2014 at 6:00 PM, Camel Guy ca...@devguy.com wrote: Hi Claus, Thank you again for your reply. Unfortunately I did not see anything in that FAQ that relates to my problem. From route A, I am invoking route

Re: Rest DSL - how to configure SSL/Basic Auth for jetty component?

2014-11-11 Thread Roman Vottner
Thank you Claus for your input so far. I’ve updated the branch according to your suggestions (https://github.com/RovoMe/CamelMultipleJettyComponents/tree/rest-dsl) and solved the SSL issue therefore. However, on trying to include basic auth using the custom basic auth security handler I run

Re: Best way to discard changes made to Exchange by invoked route

2014-11-11 Thread Camel Guy
Hi Claus, Indeed, after running a test program, I confirmed that enrich and recipientList 'hide' changes made to properties but not to headers. This is not the case, however, for dynamicRouter, which doesn't hide changes made to headers or properties. split works for headers in addition to

Re: [HEADS UP] - camel-scr for OSGi with pure Java in Camel 2.15

2014-11-11 Thread Christian Schneider
The OSGi way to specify the need for a component would be a requirement and the component would offer a capability. See http://wiki.osgi.org/wiki/Provide-Capability On the component side it should be easy to add this. On the client side the question is if people want to do this by hand ...

xmlsecurity endpoint output not lasting!?!?!?

2014-11-11 Thread Gonzalo Vasquez
Hi everybody,I'm having trouble with the output of thexmlsecurityendpoint. I suppose the obvious is to get the signed xml as in the body of the next endpoint, but it seems a bit odd that it's only kept as is if where a "local variable" as used in formal programming languages, such as variables

Re: Active MQ - Camel Digital signature verification not working with ActiveMQ 5.10

2014-11-11 Thread Willem Jiang
I cannot find the exception of crypto:verify from the stack trace. I think relate to the verify setting, you are supposed to use the private key to sign and using the public key to verify.  Can you double check the key store setting? -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com

Re: Support for CXF dispatch api in the latest release of camel

2014-11-11 Thread Willem Jiang
Current camel-cxf doesn’t support the dispatch API, you can use the PAYLOAD message data format to do the something. BTW, if you still want to use the CXF dispatch API, you can use bean[1] or processor[2] to integration the invocation within Camel route. [1]http://camel.apache.org/bean.html

Re: xmlsecurity endpoint output not lasting!?!?!?

2014-11-11 Thread Willem Jiang
Hi  Which version of Camel are you using? I cannot reproduce the error with Apache Camel master branch (Camel 2.15-SNAPSHOT). Regards, -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang

Re: Rest DSL - how to configure SSL/Basic Auth for jetty component?

2014-11-11 Thread Willem Jiang
It’s a bug of camel-jetty which introduce the security handler to the server more than once. I just create a JIRA[1] for it and will commit a quick fix for it shortly. [1]https://issues.apache.org/jira/browse/CAMEL-8036 -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog:

Re: Support for CXF dispatch api in the latest release of camel

2014-11-11 Thread santosh das
Thanks a lot for the suggestion, do we have any samples specific to cxf that i can try out? I need some more clarification between the relationship of the beans and processors and how they fit in together? I believe we can have an anonymous innerclass of processor to define the custom business

Update mongoDb objects from blueprint xml routes

2014-11-11 Thread MatteoRedaelli
Hello, Is it possibile to update MongoDb Objects from a route defined in a blueprint XML file? I cannot find an example of creating a ListDBObject without java code. From the documentation I read only Update one or multiple records on the collection. Requires a ListDBObject as the IN message

Apache camel with sonic mq

2014-11-11 Thread Gaurav Nigam
Hello, I am trying to integral our sonicmq notification engine with apache camel to route message to java beans. Our configuration is: sonic brokerURL and multiple topics I tried to attach routebuilder in camelcontext but I am not getting messages from queue using camel. It seems the way, I

Multipart form data and servlet/restlet endpoint

2014-11-11 Thread navaltiger
dear all, I am looking to implement a route where reslet/cxfrs end point will accept file as multipart request and process. (Request may have some JSON data as well. For sake of simplify thing and get it working with servlet first have tried following code. Also tried sending file using curl. I

camel-jetty and Access-Control-Allow-Origin header

2014-11-11 Thread vvsh
Hello. Can you help me, how to specify this header for any response? Thanks in advance. -- View this message in context: http://camel.465427.n5.nabble.com/camel-jetty-and-Access-Control-Allow-Origin-header-tp5758942.html Sent from the Camel - Users mailing list archive at Nabble.com.

How to configure proxy settings for cxf endpoint used in recipientList

2014-11-11 Thread Aniruddha
Hi, I am using recipientList to dynamically invoke an external webservice as follows: camel:recipientList

Re: Multipart form data and servlet/restlet endpoint

2014-11-11 Thread Claus Ibsen
Hi Maybe see if you can find some samples in camel-servlet / camel-jetty unit tests that deals with attachments. And attachments would be on the Camel Message with the getAttachments method. On Wed, Nov 12, 2014 at 5:21 AM, navaltiger vijay.ra...@gmail.com wrote: dear all, I am looking to

Re: Multipart form data and servlet/restlet endpoint

2014-11-11 Thread navaltiger
Hi Claus, Thanks for reply. I also tried following logic (in fact this was first attempt which did not work) SetString names = in.getAttachmentNames(); for (String n : names) { DataHandler h

Re: Support for CXF dispatch api in the latest release of camel

2014-11-11 Thread Willem Jiang
Here are some discussions[1] about the different between the bean and processor. An anonymous interclass can do the job for you. As Current camel-cxf is using CXF client to send the invocation and PAYLOAD data format can do the same job, we don’t have the plan to leverage the dispatch API to

Re: How to configure proxy settings for cxf endpoint used in recipientList

2014-11-11 Thread Aniruddha
HI Experts, Could you please help with this problem? -- View this message in context: http://camel.465427.n5.nabble.com/How-to-configure-proxy-settings-for-cxf-endpoint-used-in-recipientList-tp5758947p5758956.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Active MQ - Camel Digital signature verification not working with ActiveMQ 5.10

2014-11-11 Thread ahmad.abed
The same route / keystores and configurations used on the same machine/jdk with activemq 5.8 and camel 2.11 and working properly -- View this message in context:

Re: How to configure proxy settings for cxf endpoint used in recipientList

2014-11-11 Thread Willem Jiang
When you use the http-conf:conduit, camel-cxf can pick up right CXF bus which holds the reference the Spring application context from thread local variable. But if you use recipientList, the camel-cxf endpoint could be create in different thread other then the thread which creates the Spring

Re: How to configure proxy settings for cxf endpoint used in recipientList

2014-11-11 Thread Aniruddha
Could you pls point me to the example of configuring http client from the wsdl? On 12 Nov 2014 18:28, Willem.Jiang [via Camel] ml-node+s465427n5758958...@n5.nabble.com wrote: When you use the http-conf:conduit, camel-cxf can pick up right CXF bus which holds the reference the Spring