Re: getting error with camel sql component in route

2013-06-27 Thread indrayani
actually, i wanted to send the message as it is, just wanted to do some logging in the database. I have found out a way for the logging. I am using and have created a bean class implementing processor containing process method. In its process method, I am adding data in database table using data

ClassnotfoundException

2013-06-27 Thread krishnagjs
I have developed a simple camel route with ActiveMQ endpoint. The pom file is: http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0

Re: Choice sendTo and overwriting exchange body

2013-06-27 Thread Willem jiang
Hi, When you using sendTo expression, the exchange will be processed, so the original exchange will be processed. If you need to use the original message body again, you need to resort it yourself. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.co

Choice sendTo and overwriting exchange body

2013-06-27 Thread David MacDonald
Hi all, I'm attempting to use a sub-route via the sendTo expression to act as a filter (this involves a callout to a web-service), however I run into a problem in that the sendTo callout overwrites the original exchange body. For example, ... .choice() .when(sendTo("direct:someFilterService").isEq

Re: camel-smpp in trx mode

2013-06-27 Thread Hadrian Zbarcea
The thorny issue with the TRX mode is that it uses a conversational pattern, not really quite supported/modeled well. Since the Endpoint is the one creating the Producers and Consumers, it could be used to share the conversation state. I believe a cleaner solution would be to model a Conversat

Re: logging multiple instances

2013-06-27 Thread Preben.Asmussen
Hi I have lately started using Splunk for all kind of jvm, camel insight. There is a Splunk log4j appender that might be usefull for your usecase. -- View this message in context: http://camel.465427.n5.nabble.com/logging-multiple-instan

Re: Problem getting custom header

2013-06-27 Thread Sean Beck
I figured it out. getProperty() wasn't accessing my uuid header. Switched it to getIn().getHeader("uuid", String.class). Thanks though! On Thu, Jun 27, 2013 at 3:47 PM, Christian Müller < christian.muel...@gmail.com> wrote: > Message header or Exchange property? > Which type is the object? > Do y

Re: Problem getting custom header

2013-06-27 Thread Christian Müller
Message header or Exchange property? Which type is the object? Do you use the jms option transferExchange=true [1]? [1] http://camel.apache.org/jms.html Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: htt

Problem getting custom header

2013-06-27 Thread Sean Beck
So I send messages with a custom header called "uuid" and a camel program that aggregates based on this header. I know that the value gets set in my messages. However when I pull a message from the queue in my camel program and use newExchange.getProperty("uuid") and cast it to a string, I get null

Re: camel-smpp in trx mode

2013-06-27 Thread Christian Müller
>From the spec: 5.2.3 The system_type parameter is used to categorize the type of ESME that is binding to the SMSC. Examples include “VMS” (voice mail system) and “OTA” (over-the-air activation system). Specification of the system_type is optional - some SMSC’s may not require ESME’s to provide th

Re: onException in camel

2013-06-27 Thread Christian Müller
I cannot believe it. Did you had a look at our unit tests [1]? [1] https://git-wip-us.apache.org/repos/asf?p=camel.git;a=tree;f=camel-core/src/test/java/org/apache/camel/processor/onexception;h=0b1ada52abb078e9e427b75cd362107557507ffc;hb=HEAD Best, Christian - Software Integratio

Re: logging multiple instances

2013-06-27 Thread Christian Müller
Isn't really a Camel question. You should may ask this on the Apache Logging user list... Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apach

Re: clone camel 2.11.x branch

2013-06-27 Thread Christian Müller
git clone https://git-wip-us.apache.org/repos/asf/camel.git cd camel git checkout camel-2.11.x Best, Christian - Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www

RE: camelone 2013 Presentations and Video Sessions

2013-06-27 Thread gquintana
Hi, My personal bookmarks: http://macstrac.blogspot.fr/2013/06/introducing-apache-camel-based-open.html and http://vimeo.com/68442425 http://www.slideshare.net/search/slideshow?searchfrom=header&q=camelone+2013 Gerald -- View this message in context: http://camel.465427.n5.nabble.com/camelone

Re: Consume opened excel file with ftp

2013-06-27 Thread axelf
So we finally added a spec for our clients about using excel files. They shouldn't save directly to the ftp directory now, but I would like to send a message to a queue with activeMQ when this happen. We have no problem using ActiveMQ, but we don't know how to handle the genericFileOperationFailed

Re: RoutingSlip with ActiveMQ Request/Reply

2013-06-27 Thread Ioan Eugen Stan
Hello, I've fixed the issue by setting transferExchange=true option on both consumers and producers. old: https://paste.apache.org/gYR2 new: https://paste.apache.org/cK1J Cheers,

Re: [Best practise question] Running Camel in JBoss cluster

2013-06-27 Thread deepak_a
Hi Robin, You may want to check my thread http://camel.465427.n5.nabble.com/Camel-in-Master-Slave-ActiveMQ-config-td5734804.html I am doing something slightly similar. Difference is my camelContext are in a separate VM (different from JBoss+ActiveMQ) VM But I am yet to find a solution. regard

Re: [Best practise question] Running Camel in JBoss cluster

2013-06-27 Thread Rich Newcomb
Hi Robin, You should be in good shape with clustered quartz scheduling and the servlet endpoints fronted by a load balancer. Could you provide some more information about the "route manipulation through user interaction"? Describing this requirement more fully may lead to more and better respons

Re: logging multiple instances

2013-06-27 Thread kiranreddykasa
Or is it better to use JMSAppender or SocketAppender of log4j ? - Regards kiran Reddy -- View this message in context: http://camel.465427.n5.nabble.com/logging-multiple-instances-tp5734873p5734905.html Sent from the Camel - Users mailing list archive at Nabble.com.

[Best practise question] Running Camel in JBoss cluster

2013-06-27 Thread Lutter, Robin
Hi @all, we plan to run camel in clustered environment. Our target platform is JBoss 7.1.3 (or Wildfly EAP 6.0) with following challenges: 1. most of our routes (httpConsumer, fileConsumer, ftpConsumer) are triggered using quartz: a triggered route should run on one node at time 2. some servlet e

Re: Routing from servlet to CXF JAXRS via direct

2013-06-27 Thread Sergey Beryozkin
Hi FYI, I'm actually seeing this combination (jetty at the top of the route as opposed to servlet delegating to jaxrs:server) also working in the demo I'm working upon now... I wonder if the problem you were seeing had something to do with the test set up. Cheers, Sergey On 11/06/13 14:5

Re: Camel Aggregator Exception

2013-06-27 Thread Claus Ibsen
You have a class not found exception java.lang.ClassNotFoundException: org.apache.camel.processor.BodyInAggregatingStrategy The idea is that you create your own custom aggregation strategy where you "merge" the data together. Read about the aggregate EIP pattern to learn more http://camel.apache

Re: clone camel 2.11.x branch

2013-06-27 Thread Hadrian Zbarcea
Clone the project then switch to any branch you want: > git clone g...@github.com:apache/camel.git > git branch -a [...] -> displays all branches > git checkout camel-2.11.x For more info you can take a look at the ASF pages about git [1]. Hadrian [1] http://git.apache.org/ On 06/27/2013 08

Re: clone camel 2.11.x branch

2013-06-27 Thread Claus Ibsen
Hi You clone the repo as shown on http://camel.apache.org/source.html And then you can use git branch -r to see all the remote branches And you can checkout a branch and create it for local usage with -B eg git checkout origin/camel-2.11.x -B camel-2.11.x On Thu, Jun 27, 2013 at 2:43 PM, R

Not able to log Ip Address of the Server while doing exchange on route.

2013-06-27 Thread mayank.gupta
Hi All , I am using SMPP and HTTP Component for configuring routes of servers using LB . I have to log IP Address of the server on which the exchange is going to happen , but i am unable to get the IP Address of server because while doing exchange on route , i don't know , the exchange will on wh

clone camel 2.11.x branch

2013-06-27 Thread Richard Slide
Hi all, I'm new to git and i'd like to know how clone camel 2.11.x branch Regards R

RE: camelone 2013 Presentations and Video Sessions

2013-06-27 Thread Vegi, Vamsi (MAN-Corporate-CON)
http://fusesource.com/resources/video-archived-webinars/ those are the old ones, but very good and very useful. -Original Message- From: pchakinala [mailto:praveen.chakin...@ebix.com] Sent: Thursday, June 27, 2013 4:04 AM To: users@camel.apache.org Subject: camelone 2013 Presentations

Camel Aggregator Exception

2013-06-27 Thread luixv
http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:context="http://www.springframework.org/schema/context"; xmlns:amq="http://activemq.apache.org/schema/core"; xmlns:camel="http://camel.apache.org/schema/spring"; xmlns

Re: Camel in Master/Slave ActiveMQ config

2013-06-27 Thread deepak_a
Thanks Christian/Christian, http://camel.465427.n5.nabble.com/How-to-make-your-camel-routes-highly-available-when-only-one-may-be-active-at-a-time-td4984581.html#a4988271 The above Post explains the same problem I face - I am going to read that in detail and try it out. -- View this message i

Re: Http component didn't give response in case failover policy

2013-06-27 Thread mayank.gupta
Thanks Claus , now i am getting response in case of failover policy with LB. -- View this message in context: http://camel.465427.n5.nabble.com/Http-component-didn-t-give-response-in-case-failover-policy-tp5734441p5734892.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Error with Apache Camel Mail unseen flag

2013-06-27 Thread Claus Ibsen
Hi You need to add searchTerm.unseen=false to configure this option when using searchTerm as the regular unseen option is not used. On Thu, Jun 27, 2013 at 12:13 AM, Mangiameli, Josiah wrote: > I use the exact same route and the only thing that I change is I go > manually change some of the me

RoutingSlip with ActiveMQ Request/Reply

2013-06-27 Thread Ioan Eugen Stan
Hello, I'm trying to implement a simple business process where I use the routing slip to route an Exchange via some endpoints. Each endpoint should do some processing and set some properties on the exchange. I set the MEP to InOut because I wish to use the properties on the message during the next

Re: Aggregator to be pulled from the bean definition

2013-06-27 Thread Jothi
I figured that out. I had to browse through the API reference that took me a while! Anyways, thanks for the response! Regards, Jothi -- View this message in context: http://camel.465427.n5.nabble.com/Aggregator-to-be-pulled-from-the-bean-definition-tp5734826p5734884.html Sent from the Camel -

Re: camelone 2013 Presentations and Video Sessions

2013-06-27 Thread Robert Davies
There will presentations going up on the CamelOne site from those speakers who submitted them to the organisers. There were no video recording this year, it was too expensive. On 27 Jun 2013, at 09:03, pchakinala wrote: > Hi, > We work with Camel and like to know more details of camelone 2013.

Re: id of wireTap will be overrided by the id of next node

2013-06-27 Thread Willem jiang
Yeah, you need to use the block to avoid this issue. -- Willem Jiang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://www.fusesource.com | http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com (http:/

camelone 2013 Presentations and Video Sessions

2013-06-27 Thread pchakinala
Hi, We work with Camel and like to know more details of camelone 2013. If possible , can someone please keep camelone 2013 presentations along with videos in camelone site. Regards, Pchakina -- View this message in context: http://camel.465427.n5.nabble.com/camelone-2013-Presentations-and-Vide

onException in camel

2013-06-27 Thread Tarun Kumar
My route configure method looks like this: public void configure() { onException(IOException.class).handled(true).bean(ExceptionHandler.class, "handleException"); from().process().bean(firstBean.class, "abc").process().end(); } "abc" method of firstBean throws IOException, still, "handleExc

Re: Aggregator to be pulled from the bean definition

2013-06-27 Thread Claus Ibsen
Hi Yeah you can use aggregationStrategyRef to refer to the bean id. aggregate(header(CORRELATION_HEADER_KEY)).aggregationStrategyRef("")... On Wed, Jun 26, 2013 at 5:57 PM, Jothi wrote: > Guys, > > I have the following route: > > from("direct:aggregate").aggregate(header(CORRELATION_HEADER_

Re: id of wireTap will be overrided by the id of next node

2013-06-27 Thread liugang594 Liu
I found a way to make it works: change wireTap("direct:a").id("wireTapId") to wireTap("direct:a").id("wireTapId").end() , then it works. 2013/6/27 liugang594 Liu > Hi All: > > I have below route: > > from("timer:foo").routeId("route1").setBody(constant("Hello")).id("setBodyID").wireTap("direct:

logging multiple instances

2013-06-27 Thread kiranreddykasa
hi I would like what is the best approach for logging multiple instances to single file ? As of now I'm thinking to send all logs as message to jms endpoint and create one separate instance for logging alone ,which will be listening on jms and then writes to file. - Regards kiran Reddy