Re: How to suspend a particular request and resume later

2017-05-09 Thread souciance
Perhaps there are good ways to do this technically, but in general I would avoid keeping state in your integration layer. It will just introduce you to a set of new problems when it comes to error handling and retry. You'd be better off redesigning the solution without the wait if possible. If you

Re: ProducerTemplate thread waits indefinitely when messaging system (Tibco EMS) was down

2017-05-09 Thread prasad.dl
Thanks for the information, I added all timeouts at my connection level. here is the connection code TibjmsConnectionFactory tibjmsConnectionFactory = new TibjmsConnectionFactory(); tibjmsConnectionFactory.setServerUrl(""); tibjmsConnectionFactory.setUserName(""); tibjmsConnectionFactory.setUserPa

Re: How to suspend a particular request and resume later

2017-05-09 Thread Shikha Singhal
In the given configurations i.e. Once I get this request back form waiting queue, I want to resume or start remaing configurations, which are responsible for creating an output file (i.e. given in split tag). Any help will be appreciated. Thanks & Regards Shikha Singhal -- View this mes

How to suspend a particular request and resume later

2017-05-09 Thread Shikha Singhal
Hi,I am receiving messages or requests from ActiveMQ and processing the messages and creating another output file with respect to each input request from ActiveMQ.My configurations are as given below:/ ${body}

Camel kafka manual commit implementation

2017-05-09 Thread Abhijeet Shukla
Hi Team, I want to implement Kafka manual commit using apache camel, but not able to find any clue to implement it its given only for auto commit. Kindly help me out in the issue. Thanks Abhijeet Shukla -- View this message in context: http://camel.465427.n5.nabble.com/Camel-kafka-manual-com

Re: Camel kafka manual commit implementation

2017-05-09 Thread Abhijeet Shukla
I am trying to do so using camel router as: from("kafka:{{kafka.hostname}}:{{kafka.port}}?topic={{kafka.topic}}&groupId={{kafka.consumer.groupid}}&autoOffsetReset=none&autoCommitEnable=false&maxPollRecords=3").process(new Processor() { @Override

When will camel exchange get garbage collected ?

2017-05-09 Thread mohanjntu_86
I was trying to understand as to when camel exchange be eligible for garbage collection ? Or do we have to explicitly clear all the properties of the exchange before completing the route ? -- View this message in context: http://camel.465427.n5.nabble.com/When-will-camel-exchange-get-garbage-co

Re: Need Help: Using ServiceCall EIP and camel-ribbon component to discover service from Netflix Eureka Server

2017-05-09 Thread sameekbhaumik
Developed my own Camel Component to discover a service registered in Netflix Eureka Server -- View this message in context: http://camel.465427.n5.nabble.com/Need-Help-Using-ServiceCall-EIP-and-camel-ribbon-component-to-discover-service-from-Netflix-Eureka-Sr-tp5797647p5799184.html Sent from th

Re: NoTypeConversionAvailableException exception while running junit test case

2017-05-09 Thread Tomohisa Igarashi
Ravi, answer for you is always same, use latest camel 2.19.0 without SwitchYard or ask Red Hat support. Stop abuse camel user community. On 05/10/2017 01:48 AM, ravi21588 wrote: Hi iam getting NoTypeConversionAvailableException while using xpath in camel,iam using camel 2.10.Iam getting this

Re: ERROR [org.apache.camel.component.jms.DefaultJmsMessageListenerContainer]

2017-05-09 Thread chandler
Some more details: 2017-05-09 13:16:11,029 logLevel="ERROR", thread="Camel (p6pmtjsonresponse) thread #2 - TemporaryQueueReplyManager[local.q.cee.pm.p6milestone.json.inout.request]", class="org.apache.camel.component.jms.DefaultJmsMessageListenerContainer", lineNumber="938", elapsedFromTheConstruc

NoTypeConversionAvailableException exception while running junit test case

2017-05-09 Thread ravi21588
Hi iam getting NoTypeConversionAvailableException while using xpath in camel,iam using camel 2.10.Iam getting this exception only in junit test case,but it is working fine while deployed in Jboss EAP server. My camel route is as below: http://camel.apache.org/schema/spring";>

Re: Bug in onException with onRedelivery

2017-05-09 Thread Ryan T
I stepped through it with the debugger and yep it does. You could try it if you would like. https://github.com/catequil/CamelTests.git The repository should be public. -- View this message in context: http://camel.465427.n5.nabble.com/Bug-in-onExc

Re: Configuring Quartz in cfg file (Property placeholder)

2017-05-09 Thread Claus Ibsen
Yeah but fuse fabric v1 is still OSGi based running in karaf containers. On Tue, May 9, 2017 at 5:06 PM, Kevin-Void wrote: > Thanks for the response Claus.. > > Actually the module is deployed in fabric environment(Clustered). The module > is deployed in 3 nodes with same jar and config file. > >

Re: Configuring Quartz in cfg file (Property placeholder)

2017-05-09 Thread Kevin-Void
Thanks for the response Claus.. Actually the module is deployed in fabric environment(Clustered). The module is deployed in 3 nodes with same jar and config file. Kind Regards, Kevin -- View this message in context: http://camel.465427.n5.nabble.com/Configuring-Quartz-in-cfg-file-Property-pla

AW: Charset on file poller endpoint

2017-05-09 Thread Burkard Stephan
Just to document it for others with the same problem. When the body is passed as byte array, the bytes are correct. public String detectEncodingByBom(@Body byte[] body) { byte[] firstThreeBytes = Arrays.copyOfRange(body, 0, 3); log.debug("3 Bytes as Hex: " + Hex.encodeHexStrin

Re: Configuring Quartz in cfg file (Property placeholder)

2017-05-09 Thread Claus Ibsen
Are you talking about an Apache Karaf container? Then I think its not very easy as the etc folder is osgi config admin thingy, and that works only for osgi stuff and when using blueprint with their ${ } placeholders. Not sure if we can make camel-quartz understand osgi config admin, and then allo

Re: Camel-SQL 2.18.2 problem with MongoDbBasicConverters

2017-05-09 Thread Claus Ibsen
Hi Not sure its likely some classloading on jboss wildfly side. There is a 4.6.0 release of camel-widlfly. And if you still have trouble then you can report it to their community https://github.com/wildfly-extras/wildfly-camel On Tue, May 9, 2017 at 3:52 PM, antopet wrote: > Hi, > I'm trying to

Camel-SQL 2.18.2 problem with MongoDbBasicConverters

2017-05-09 Thread antopet
Hi, I'm trying to execute a sql from apache Camel. I using version 2.18.2 and wildfly 10.1.0 final and wildfly-camel patch 4.5.0 My code is: from("direct:testDatabase").routeId("testDatabase") .setHeader("id", constant("hello")) .to("sql:select * from testtable whe

Re: Out Of Memory Using Camel 2.18.2 , Secure Kafka 0.10.2 , Spring Boot 1.5.1

2017-05-09 Thread Mark Nuttall
Was this part of another thread? Anyway, what are the current memory settings? My guess i that you are reading a quite large message into memory. Either increase memory or stream the message to disk (like how the FTP client does it). I am not sure offhand if the Kafka component supports it. On M

Configuring Quartz in cfg file (Property placeholder)

2017-05-09 Thread Kevin-Void
Hello All, I want to configure my quartz properties in cfg file or in an individual property file in etc directory of the container, so that i can make changes easily in that file instead of making change in code and rebuilding the jar again. Please find my code below: my route:

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-09 Thread Hetmoteus
Hi, Anyone can confirm or infirm this ? Is there a way to create an issue if it is confirmed ? Can someone help me to get a good temp fix for this or valid that what I'm doing is correct ? Thanks -- View this message in context: http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called

Re: mongodb distinct query

2017-05-09 Thread Mark
Thanks Claus, I'm going to try and put together a patch and submit it. On Fri, May 5, 2017 at 3:45 PM, Claus Ibsen wrote: > I frankly do not know if its supported or not. But if you have looked > in the docs and source code then its likely not. > > We love contributions so you are welcome to see

Out Of Memory Using Camel 2.18.2 , Secure Kafka 0.10.2 , Spring Boot 1.5.1

2017-05-09 Thread 29722kumar
Out Of Memory Using Camel 2.18.2 , Secure Kafka 0.10.2 , Spring Boot 1.5.1 -- View this message in context: http://camel.465427.n5.nabble.com/Out-Of-Memory-Using-Camel-2-18-2-Secure-Kafka-0-10-2-Spring-Boot-1-5-1-tp5799123.html Sent from the Camel - Users mailing list archive at Nabble.com.