Camel DSL & WMQ ... Not Working as expected

2016-05-19 Thread N.S.KARTHIK
Hi Followed the WMQ specific configuration from the url URL : http://camel.465427.n5.nabble.com/Can-Camel-communicate-over-IBM-MQ-sender-receiver-channels-td4429050.html#a4430351 The route is simple as stated below / http://www.springframework.org/schema/beans"; xmlns:xsi="htt

Camel jms - Custom Message ID

2016-05-19 Thread Adarsh_GU
Hi Guys, Is there is any option to override *JMS message id * gernerated by camel,while using camel jms component? I have simple route pushes data to queue testQueue / / and saw message id from active mq console as follows /*Message ID* ID:ICB1864-53042-1463651730680-1:1:1

Re: Camel jms - In Out Pattern

2016-05-19 Thread Adarsh_GU
The issue was while using *inout pattern with this mockresponse route* to poll mock response to response quee. Now I tried with polling some response to response queue first, then i removed above route . In this case request response is wor

Splitter EIP Best Practice

2016-05-19 Thread mfrenzel
Hello everyone, this is my first post and I am seeking the opinion of more experienced camel users. In my route, I split up the content of a zip file and determine the completeness of it`s content by using the aggregator EIP, which applies certain business rules in it`s completion predicate. So fa

Re: Camel jms - Custom Message ID

2016-05-19 Thread Quinn Stevenson
The JMS Message ID is generated by the JMS server (not Camel) - at least that’s what I remember from the JMS Specs. If there is a was to customize the JMS Message ID, I think you’d have to look at your JMS provider and see what they offer. > On May 19, 2016, at 4:07 AM, Adarsh_GU wrote: > > H

Re: Camel jms - Custom Message ID

2016-05-19 Thread Timothy Bish
On 05/19/2016 09:24 AM, Quinn Stevenson wrote: The JMS Message ID is generated by the JMS server (not Camel) - at least that’s what I remember from the JMS Specs. If there is a was to customize the JMS Message ID, I think you’d have to look at your JMS provider and see what they offer. That i

Manually trigger a scheduled route for testing

2016-05-19 Thread henricao
Hi all, I have a route that reads files from a directory and ftp them in a server, something like this: from("file: ...").to("sftp: ..."); In the file component I defined a schedule for polling the directory every hour. In my tests, I would like to trigger manually this route, ignoring

How to set username password in custom SOAP header from cxf endpoint and camel route to call external webservice

2016-05-19 Thread kazvis
Hi , i want to call a external SOAP service from camel route. i have imported corresponding java objects in my project. I am using the CXF component to call that SOAP service and need to send a username password as a custom soap header. so give me the approach. i here by attached the soap header f

Splitter and camel blueprint syntax

2016-05-19 Thread afbagwe
I've been searching for an answer to this with Google and have not found a satisfactory example.I am trying to set up a Splitter in an camel route defined with an OSGi blueprint.I have my own POJO for this task and currently using Camel 2.15 that allows using it instead of an aggregation strategy.

Camel Guice and JNDi and Hibernate SessionFactory

2016-05-19 Thread sathi...@gmail.com
Trying to integrate Camel Guice and JNDI. I have configured DataSource as provider binding in Guice Module. This module is bootstrapped through jndi.properties file in classpath @Provides @JndiBind("jdbc/dbName") @Singleton public DataSource createDataSource() { //Actual code for creating Dat

Re: Manually trigger a scheduled route for testing

2016-05-19 Thread Claus Ibsen
Hi You could use property placeholders and then in an unit test replace the trigger to run faster. Or you can use advice with and then replace the from uri with something what you want instead. http://camel.apache.org/using-propertyplaceholder.html http://camel.apache.org/advicewith.html On Thu

Re: zookeeper route policy failover not working

2016-05-19 Thread Claus Ibsen
What version of Camel is that? On Thu, May 19, 2016 at 1:37 AM, Minh Tran wrote: > Hi > > I am trying to use the zookeeper route policy for failover and it does not > work as I would expect. Here’s an example route. > > ZooKeeperRoutePolicy policy = new > ZooKeeperRoutePolicy("zookeeper://zooke

Re: Splitter and camel blueprint syntax

2016-05-19 Thread Claus Ibsen
On Thu, May 19, 2016 at 6:11 PM, afbagwe wrote: > I've been searching for an answer to this with Google and have not found a > satisfactory example.I am trying to set up a Splitter in an camel route > defined with an OSGi blueprint.I have my own POJO for this task and > currently using Camel 2.15

Re: zookeeper route policy failover not working

2016-05-19 Thread Minh Tran
2.17.1 > On 20 May 2016, at 2:25 PM, Claus Ibsen wrote: > > What version of Camel is that? > > On Thu, May 19, 2016 at 1:37 AM, Minh Tran wrote: >> Hi >> >> I am trying to use the zookeeper route policy for failover and it does not >> work as I would expect. Here’s an example route. >> >> Z

Re: zookeeper route policy failover not working

2016-05-19 Thread Claus Ibsen
Check the JIRA what tickets has been reported about camel-zookeeper. I think we have something about this. On Fri, May 20, 2016 at 7:05 AM, Minh Tran wrote: > 2.17.1 > >> On 20 May 2016, at 2:25 PM, Claus Ibsen wrote: >> >> What version of Camel is that? >> >> On Thu, May 19, 2016 at 1:37 AM, Mi

Re: zookeeper route policy failover not working

2016-05-19 Thread Minh Tran
Thanks Claus. I’ve found the ticket, it’s CAMEL-8208. > On 20 May 2016, at 3:10 PM, Claus Ibsen wrote: > > Check the JIRA what tickets has been reported about camel-zookeeper. I > think we have something about this. > > On Fri, May 20, 2016 at 7:05 AM, Minh Tran wrote: >> 2.17.1 >> >>> On 20

AW: Splitter EIP Best Practice

2016-05-19 Thread Walzer, Thomas
Hi Mirco, ad 1) If it saves you from duplicating code & you have no issues performance-wise: I would do it. It seems more logical (in my opinion). If you need to check for completeness *before* doing any processing, I think that´s the only way to go. If you can allow for parallelism: split first