Re: JMX Camel New User Question: where do I put service:jmx:rmi...

2018-12-20 Thread Eric Phetteplace
This might help http://camel.apache.org/jmx.html On Dec 20, 2018 8:14 PM, Stefan Lisowski wrote: Thank you Quinn, it does help. That's exactly what I was looking for. It would have taken me a while to figure out the proper syntax incantation "jmx:service:jmx:rmi:///jndi/rmi:/...jmxrmi?..." Now

Re: JMX Camel New User Question: where do I put service:jmx:rmi...

2018-12-20 Thread Stefan Lisowski
Thank you Quinn, it does help. That's exactly what I was looking for. It would have taken me a while to figure out the proper syntax incantation "jmx:service:jmx:rmi:///jndi/rmi:/...jmxrmi?..." Now I just have to figure out how to add credentials. Can I add them into this "from" line ex: from("

Re: Unit Testing REST DSL Endpoints

2018-12-20 Thread Bradford Fisher
Awesome! Thanks Claus! On Thu, Dec 20, 2018 at 5:38 PM Claus Ibsen wrote: > On Thu, Dec 20, 2018 at 11:34 PM Bradford Fisher > wrote: > > > > Hey Claus, > > > > Thanks for responding! I was actually just considering routing the REST > DSL > > Endpoints directly to the "direct" endpoint and then

Re: Unit Testing REST DSL Endpoints

2018-12-20 Thread Claus Ibsen
On Thu, Dec 20, 2018 at 11:34 PM Bradford Fisher wrote: > > Hey Claus, > > Thanks for responding! I was actually just considering routing the REST DSL > Endpoints directly to the "direct" endpoint and then testing from the > direct Endpoint onward. > > Just to clarify, you are suggesting something

Re: Unit Testing REST DSL Endpoints

2018-12-20 Thread Bradford Fisher
Hey Claus, Thanks for responding! I was actually just considering routing the REST DSL Endpoints directly to the "direct" endpoint and then testing from the direct Endpoint onward. Just to clarify, you are suggesting something similar to: rest("/test") .post() .route() .to("direct:pr

Re: Unit Testing REST DSL Endpoints

2018-12-20 Thread Claus Ibsen
So what you should/can advice is the route that you are calling via direct, eg the route that you may have the starts from direct:out On Thu, Dec 20, 2018 at 11:13 PM Claus Ibsen wrote: > > Hi > > The advice with functionality is for regular Camel routes, eg they > start via from() > So what you

Re: Unit Testing REST DSL Endpoints

2018-12-20 Thread Claus Ibsen
Hi The advice with functionality is for regular Camel routes, eg they start via from() So what you do is not supported. On Thu, Dec 20, 2018 at 10:15 PM Bradford Fisher wrote: > > I'm trying to replace a REST DSL "from" Endpoint using adviceWith and > replaceFromWith appears to be failing becaus

Unit Testing REST DSL Endpoints

2018-12-20 Thread Bradford Fisher
I'm trying to replace a REST DSL "from" Endpoint using adviceWith and replaceFromWith appears to be failing because Camel is appending a routeId parameter to the end of the direct URI. Any suggestions on how to fix this? I've included below a sample Test class illustrating the issue as well as the

Re: JMX Camel New User Question: where do I put service:jmx:rmi...

2018-12-20 Thread Quinn Stevenson
Find your JMX URI for ActiveMQ - it will look something like service:jmx:rmi:///jndi/rmi:/localhost:1099/jmxrmi Then the from should be something like from("jmx:service:jmx:rmi:///jndi/rmi:/localhost:1099/jmxrmi?objectDomain=jmxExample&key.name=simpleBean”) HTH > On Dec 19, 2018, at 9:40 PM,

How-to: Return SOAPFault from JMS Queue Processor

2018-12-20 Thread Miroslav Beranič
Hi, I've found multiple examples and forums posts regarding this, but not exactly like what I have. I've configured CXF Endpoint using Blueprint XML ( use XML tag cxfEndpoint ), and I forward SOAP requests to JMS queue - different for each SOAPAction. http://camel.apache.org/schema/blueprint";

Re: load multiple route xml files - ASF JIRA CAMEL-13015

2018-12-20 Thread Claus Ibsen
Hi Its using Spring's org.springframework.core.io.support.ResourcePatternResolver#getResources Which dont support multiple folders. I have logged a ticket so we can split the input on comma and then load I logged a ticket https://issues.apache.org/jira/browse/CAMEL-13019 On Thu, Dec 20, 2018 at

Re: load multiple route xml files - ASF JIRA CAMEL-13015

2018-12-20 Thread Andrea Cosentino
If someone have time to work that it will be picked up. -- Andrea Cosentino  -- Apache Camel PMC Chair Apache Karaf Committer Apache Servicemix PMC Member Email: ancosen1...@yahoo.com Twitter: @oscerd2 Github: oscerd On Thursday, December 20, 2018, 10:37:30 AM

load multiple route xml files - ASF JIRA CAMEL-13015

2018-12-20 Thread Wang Yan
load multiple route xml files - ASF JIRA When I use SpringDSL , i want to load two route files For Example route1.xml and route2.xml If I put two files in same directory like below , it is working camel.springboot.xmlRoutes: file :directory/*.xml If I put two files into different directorie

RE: How to read messages from a queue in parallel

2018-12-20 Thread Valdis Andersons
Hi Peter, If you could use rabbitmq queues instead of SEDA ones I think your problem with messages being lost on restarts would be solved. As a note, by default Camel doesn't set the persistence header on rabbit messages, it has to be set explicitly (we do it in our abstract route builder): exc