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. Thanks and Re

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 org.json.JSO

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.

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" : > 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 fi

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.):

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 .log(Log

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)

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]" >: > >You should use blueprint in the namespace for > >On Tue, Jul 28, 2015 at 5:07 PM, gersid < [hidden email] > wrote: > >> Found the following issue >> when the standard example "camel-blueprint" is

Re: blueprint: routeContext tag prevents Camel from starting

2015-07-28 Thread Claus Ibsen
You should use blueprint in the namespace for On Tue, Jul 28, 2015 at 5:07 PM, gersid wrote: > Found the following issue > when the standard example "camel-blueprint" is modified as following. > > Used the file blueprint.xml with the section replaced with > the following: > > http://camel.apa

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 section replaced with the following: http://camel.apache.org/schema/blueprint";> http://camel.apache.org/schema/spring"; >

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 w

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 reconnects,

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 b

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 c

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

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 { exchange.getIn

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" : > > 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 a

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: http://camel.465427.n5.nabble.com/JMS-MQ

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 Admi

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: pub

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 wrote: > If I add a custom property to my body throw sendBodyAndProperty from my > template to a

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 v