Property aded to my body is removed when endpoint is a queue

2015-07-28 Thread masalinas
If I add a custom property to my body throw sendBodyAndProperty from my template to a direct endpoint the property added is correctly recolected later from my processor, but if the endpoint is a queue the property is removed and when I try to recolect it from my processor not exist. If I send my

Re: Property aded to my body is removed when endpoint is a queue

2015-07-28 Thread Claus Ibsen
Hi You should use headers on the message as that is part of the message and transfered over queues / network etc. exchange properties private and are not. On Tue, Jul 28, 2015 at 10:39 AM, masalinas mig...@thingtrack.com wrote: If I add a custom property to my body throw sendBodyAndProperty

Re: Possible bug in JGroupsFilters.dropNonCoordinatorViews?

2015-07-28 Thread Henryk Konsek
Hi Ed, This is bug indeed. I have just fixed it in CAMEL-9029 [1]. The bug was not detected so far, because channels used for cluster configuration usually don't exchange non-view messages. Thanks for catching this! Cheers! [1] https://issues.apache.org/jira/browse/CAMEL-9029 wt., 28.07.2015 o

RE: JMS MQ performance improvement

2015-07-28 Thread mytechnology
Why is it so hard (so far impossible) to find a way of configuring connection pool with IBM MQ. All the documentation is with websphere MDBs or ActiveMQ and Camel. Has any body used connection pool with IBM MQ and Camel? -- View this message in context:

Netty4 HTTP client body type

2015-07-28 Thread Alex Soto
Hello, I am using Netty producer to implement an HTTP client: Exchange response = testProducer.request(URL, new Processor() { @Override public void process(Exchange exchange) throws Exception {

RE: JMS MQ performance improvement

2015-07-28 Thread David Karlsen
IBM used to support pooling but have removed it in recent 7.x versions 28. jul. 2015 3.17 p.m. skrev mytechnology mytech1...@gmail.com: Why is it so hard (so far impossible) to find a way of configuring connection pool with IBM MQ. All the documentation is with websphere MDBs or ActiveMQ and

Re: ConverterNotFoundException marshall CsvDataFormat with Spring boot

2015-07-28 Thread Fneuch
Hi Claus, Thanks a lot! It seems to work. I have another issue with the replacement of properties to be sure it works. But it execute more step in my real Route. Do you have any idea the expected time of release of the next camel version? Once again, thanks a lot! -- View this message in

RE: Camel XmlJson Question

2015-07-28 Thread Vanshul . Chawla
http://camel.apache.org/xmljson.html This gives examples also. You just need to set dataFormat and use a process ref for xmljson. It gives default element names. In case you need to change the element names, you need to use expended properties. import org.json.JSONException; import

blueprint: routeContext tag prevents Camel from starting

2015-07-28 Thread gersid
Found the following issue when the standard example camel-blueprint is modified as following. Used the file blueprint.xml with the camelContext section replaced with the following: camelContext xmlns=http://camel.apache.org/schema/blueprint; routeContextRef ref=myRoutes/

Re: ConverterNotFoundException marshall CsvDataFormat with Spring boot

2015-07-28 Thread Claus Ibsen
Hi Good to hear. I would expect Camel 2.16 to be released after the summer vacation when people get back and have focus again in the end of august towards september. And then we need 2-4 weeks to close down last bugs and other things we want in the release. So I guess sometime in september would

Re: blueprint: routeContext tag prevents Camel from starting

2015-07-28 Thread Claus Ibsen
You should use blueprint in the namespace for routeContext On Tue, Jul 28, 2015 at 5:07 PM, gersid ger...@inbox.ru wrote: Found the following issue when the standard example camel-blueprint is modified as following. Used the file blueprint.xml with the camelContext section replaced with the

Re: Possible bug in JGroupsFilters.dropNonCoordinatorViews?

2015-07-28 Thread Ed Welch
Hi Henryk! Follow up question, do you think there is a use case for shutting down a running route? Say the coordinator in the cluster gets disconnected (unplug a network cable or something), the remaining members elect a new coordinator and he starts his route. The first node then

camel redis auth

2015-07-28 Thread bitsof info
how can I specify an AUTH credential when configuring the Apache Camel Redis component? All the operations I want to do (such as LPUSH, but be over an established connection that has already done an AUTH)

Camel XmlJson Question

2015-07-28 Thread srinit
Hi Folks, I am very new to Camel library and getting confused whether I am in right place for my requirement or not? Here is my requirement, I need conversion from xml to json and viceversa in java project. Basically I need to convert a Xml SOAP message to Json and from json to SOAP Xml message

Re[2]: blueprint: routeContext tag prevents Camel from starting

2015-07-28 Thread gersid
Thanks:))) It is working. Вторник, 28 июля 2015, 8:11 -07:00 от Claus Ibsen-2 [via Camel] ml-node+s465427n5770024...@n5.nabble.com: You should use blueprint in the namespace for routeContext On Tue, Jul 28, 2015 at 5:07 PM, gersid [hidden email] wrote: Found the following issue when the

Possible bug in JGroupsFilters.dropNonCoordinatorViews?

2015-07-28 Thread Ed Welch
Was looking at using the jgroups component to coordinate some master/slave routes, and was digging into the source for the example to see how it works. Everything seems straight forward to me with one issue: the dropNonCoordinatorViews method in JGroupsFilters looks like it may have a bug:

unbind bug of Apache Camel SMPP

2015-07-28 Thread imranrazakhan
Hi, Please find below details of unbind bug of SMPP Suppose SMSC allowed one connection to client and due to any reason if session.unbindAndClose failed it will set session to null and dont retry to unbind. Connection/Session will remain open on SMSC till its TransactionTimeOut, mostly SMSc

RE: MQConnectionFactory Error

2015-07-28 Thread Vanshul . Chawla
We set our properties like this. So MQQueueConnectionFactory uses CCDT(You can continue with the same properties you have.) Then we do caching of that connection to increase performance. And Main is your JMSComponent as that's what is used for making connection to IBM MQ. !-- Queue Manager

RE: JMS MQ performance improvement

2015-07-28 Thread Vanshul . Chawla
To increase performance, use caching of connection. We used the same and are able to process a huge volume. !-- Queue Manager Connection factory(s) -- bean id=wmqConnectionFactory1-Prod1-FIT class=com.ibm.mq.jms.MQQueueConnectionFactory property name=CCDTURL bean

setting body property on the exchange failing unless log() message happens beforehand

2015-07-28 Thread Dan Moore
Hi folks, I have an object coming in to the exchange from a direct route. from(direct:test2) //.log(plain message) //.log(LoggingLevel.INFO, log, this is a test 2 ) .setProperty(origMsg, body()) // Store the Original Message

Re: File read issue in Camel

2015-07-28 Thread Mechkov
One of the first thing i have learned about Camel and file manipulations (AFTER reading the Camel in Action by Claus Ibsen and Jonathan Antsey) is that always, always start your file manipulation route from a folder that files are ready and available, as opposed to files that are currently being

Re: ConverterNotFoundException marshall CsvDataFormat with Spring boot

2015-07-28 Thread Claus Ibsen
Hi Yesterday we fixed camel-csv to not use a type converter to list in the marshal, but just iterate the body as-is. You are welcome to try with latest code if you can see this behavior anymore. On Mon, Jul 27, 2015 at 8:00 PM, Fneuch fne...@gmail.com wrote: Hi! First time here, so I hope I

MQConnectionFactory Error

2015-07-28 Thread VijaySathya
I get the following error when my server starts ( and tries to initialize the spring beans - I have a main camel context spring based config file, which imports 3 other spring config files. In one of the files, I define JMS beans including Connection Factories. That is where I am having issues.):

Re: MQConnectionFactory Error

2015-07-28 Thread David Karlsen
Make sure the JMS api jar is available and in one version only 29. jul. 2015 00.07 skrev VijaySathya tanjoresat...@gmail.com: I get the following error when my server starts ( and tries to initialize the spring beans - I have a main camel context spring based config file, which imports 3