Re: Exposing Camel Route as WEB SERVICE

2013-08-12 Thread Claus Ibsen
You can check the examples http://camel.apache.org/examples On Tue, Aug 13, 2013 at 6:07 AM, contactreji wrote: > Hii. > > I am in the process of learning Web Service implementations using camel. > Can someone help me with a sample project which exposes a camel route as Web > Service. The route s

Exposing Camel Route as WEB SERVICE

2013-08-12 Thread contactreji
Hii. I am in the process of learning Web Service implementations using camel. Can someone help me with a sample project which exposes a camel route as Web Service. The route should have cxf Component as I want a simple helloWorld kind of implementation. Have a great day Reji -- View this

Re: Message not getting delivered from FTP to Activemq

2013-08-12 Thread life1style1
Hi, When transferring files from remote FTP if the connection gets hindered due to some reason then is there any way camel takes care of this thing? -- View this message in context: http://camel.465427.n5.nabble.com/Message-not-getting-delivered-from-FTP-to-Activemq-tp5736181p5737183.html Sen

Can´t send mail using gmail smtp server using caml smtps component = javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?

2013-08-12 Thread silviolucasfilho
I´m using the mail component to send an email usign gmail as relay and I receive the following error all the time: Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587; nested exception is: javax.net.ssl.SSLException: Unrecognized SSL messag

Issue with the request timeout in camel-jms component

2013-08-12 Thread ravi.4indra
Hi , It would be hlepful if anyone can provide update on the issue. issue as described in jira *When performing an InOut JMS exchange with a certain requestTimeout, if the reply message is received in time, but the following formula stands true: {{T0 + T1 >= T!}}, where: T0 = JMS response t

Re: stream caching to HTTP end point

2013-08-12 Thread ramrubio
Thanks Claus. -- View this message in context: http://camel.465427.n5.nabble.com/stream-caching-to-HTTP-end-point-tp5736608p5737181.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Enable/disable Intercept strategy at runtime

2013-08-12 Thread bpinto
Thanks Claus that was helpful. Beats having to restart the context. -- View this message in context: http://camel.465427.n5.nabble.com/Enable-disable-Intercept-strategy-at-runtime-tp5737154p5737178.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Wait until the object was persisted

2013-08-12 Thread Hilderich
Sorry, my problem was a different one. It is not a problem to fetch a object from the database after a jpa producer node. -- View this message in context: http://camel.465427.n5.nabble.com/Wait-until-the-object-was-persisted-tp5736990p5737176.html Sent from the Camel - Users mailing list archi

Re: Cluster in camel using Quartz - ObjectAlreadyExistsException

2013-08-12 Thread Claus Ibsen
Whats the exception stacktrace you see for ObjectAlreadyExistsException? Sounds like a JMX MBean clash. On Mon, Aug 12, 2013 at 6:51 PM, ravishankar.singaram wrote: > quick context: We have a simple route using FTP endpoint and scheduled to run > every few minutes using cronscheduledroute policy

Re: Bean's scope in Camel

2013-08-12 Thread Claus Ibsen
Yes they will have different object instances as its prototype scoped in the spring tag. In fact for each message Camel will lookup the bean in the spring app context and get a new instance. You can tell Camel to cache the lookup by setting cache=true. See more at http://camel.apache.org/bean On

Re: Bean's scope in Camel

2013-08-12 Thread maheetw
Suppose i have following configuration now since i am having dbwriter's scope as prototype then both the route should have different object of bea

XQuery Update Facility

2013-08-12 Thread jlemptoz
Hello, I would like to use XQuery Update Facility to transform a message in a camel route, but I get an error message : Unexpected token "copy" in path expression. I'm using camel version 2.8.5, and XQuery runs correctly with "FLWOR" syntax. Is Update Facility supported ? Is there any instruction o

Cluster in camel using Quartz - ObjectAlreadyExistsException

2013-08-12 Thread ravishankar.singaram
quick context: We have a simple route using FTP endpoint and scheduled to run every few minutes using cronscheduledroute policy. The attempt is to enable clustering (in JBoss EAP 6.0) for the route. JDBCDatastore is used with cluster enabled. The route was deployed in a .ear in clustered JBoss in

File component does not delete file on error

2013-08-12 Thread Steppacher Ralf
Hello all, we are reading files, in parallel, split them line by line and then asynchronously process every line. The result is sent off via ActiveMQ (5.8.0). Once in a while we receive an error in the ActiveMQ client. Processing of the file seems to continue fine. Once the EOF is reached we get

Re: SFTP Support to run GET PUT commands

2013-08-12 Thread deepak_a
On further analysis - it appears the sFTP server is expecting ONLY the following sequence of operations to GET a file (1) Change to DTCC-assigned directory cd //artdialu.d3346 (2) List contents of directory ls //artdialu.d3346 (3) Set transfer mode & file char

Re: Enable/disable Intercept strategy at runtime

2013-08-12 Thread Claus Ibsen
Yeah you would need to implement your own interceptor that is capable of enabling / disabling other interceptors at runtime, if you want "dynamic" behavior without camel context restarts. Also there is a new Container SPI in 2.12 org.apache.camel.spi.Container Which can be used in containers such

Re: Enable/disable Intercept strategy at runtime

2013-08-12 Thread bpinto
Thanks Claus, With the current version though, is it achievable only through camelcontext restarts? Thanks, Brian -- View this message in context: http://camel.465427.n5.nabble.com/Enable-disable-Intercept-strategy-at-runtime-tp5737154p5737160.html Sent from the Camel - Users mailing list arc

Re: Enable/disable Intercept strategy at runtime

2013-08-12 Thread Claus Ibsen
This is a goal in Camel 3.0 to allow dynamic interceptors to be added/removed at runtime. On Mon, Aug 12, 2013 at 4:10 PM, bpinto wrote: > HI, > > I am looking for a way to add interceptstrategy to a camel context during > runtime after the camel context has started. Similarly,I would also want

Re: Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.

2013-08-12 Thread Claus Ibsen
Logged a ticket to allow turn off event notifier in the producer template https://issues.apache.org/jira/browse/CAMEL-6628 On Mon, Aug 12, 2013 at 3:55 PM, pmcb55 wrote: > Well actually, our production code makes extensive use of the > ProducerTemplate to make explicit calls from our application

Enable/disable Intercept strategy at runtime

2013-08-12 Thread bpinto
HI, I am looking for a way to add interceptstrategy to a camel context during runtime after the camel context has started. Similarly,I would also want to disable the respective interceptstrategy while the camel context continues to run. 1. Can this be done ? If yes how do I go about it? I have l

Re: SFTP Support to run GET PUT commands

2013-08-12 Thread deepak_a
Thanks, I am getting an exception when I try to GET a file from SFTP. My route is set up as follows ftp://x...@xxx.xx.xx.xxx:22///.XX.X?password=XXX&noop=true&binary=true&delay=6&stepwise=false"/>

Re: Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.

2013-08-12 Thread pmcb55
Well actually, our production code makes extensive use of the ProducerTemplate to make explicit calls from our application server code (which just supports a standard web application) to simple Camel routes that invoke on backend services that all expose HTTP endpoints (so of course we use the HTTP

Re: Bean's scope in Camel

2013-08-12 Thread Claus Ibsen
Can you explain a bit more what you mean, maybe with an example? On Mon, Aug 12, 2013 at 12:27 PM, maheetw wrote: > Can someone explain the bean's scope in camel ? > let's say i am having one endpoint bean ,scope as a prototype and using this > bean in two routes .So it will be two different ob

Re: Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.

2013-08-12 Thread Claus Ibsen
Remember you are doing a test and in real life you wont use producer template to send a message to a direct Camel route. Your routes would be other components such as files / http / cxf / activemq etc. On Mon, Aug 12, 2013 at 2:38 PM, pmcb55 wrote: > Hi Claus - thanks again for the response, bu

Re: moveFailed is failing when streaming is on

2013-08-12 Thread Claus Ibsen
I logged a ticket about the problem with moving to failed due the stream is locked. https://issues.apache.org/jira/browse/CAMEL-6627 The reason is that you have stopOnExcepition=true, and the splitter EIP didn't close the stream at this point, only at the end. This problem is only on windows plat

Re: Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.

2013-08-12 Thread pmcb55
Hi Claus - thanks again for the response, but I'm still unclear. I've been playing with my test code, and I think this version might illustrate the problem better (I now define endpoints instead of my simpler original that only had a 'Processor()', and I've added 'Thread.sleep()' to the endpoints t

Re: Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.

2013-08-12 Thread Claus Ibsen
Well timings for individual endpoints you would need to send the exchange to an endpoint in your route - which yo do NOT do, as you use a processor instead. The event notifier only emits event for exchanges being sending/sent to endpoints, not for processors etc. If you want fine grained metrics,

Re: Timer with delay = 0 and repeatCount = 1 does not fire after resumed

2013-08-12 Thread Claus Ibsen
suspend/resume will not reset the counter stop/start will reset the counter So what you should do is to stop/start the route On Mon, Aug 12, 2013 at 1:35 PM, magner58 wrote: > Thanks for reply, > > "current behaviour" means that it is not the "intended behaviour" and you > created a ticket to fi

Bean's scope in Camel

2013-08-12 Thread maheetw
Can someone explain the bean's scope in camel ? let's say i am having one endpoint bean ,scope as a prototype and using this bean in two routes .So it will be two different objects of endpoints or same ? -- View this message in context: http://camel.465427.n5.nabble.com/Bean-s-scope-in-Camel-

Re: Timer with delay = 0 and repeatCount = 1 does not fire after resumed

2013-08-12 Thread magner58
Thanks for reply, "current behaviour" means that it is not the "intended behaviour" and you created a ticket to fix that, or that "current behaviour" IS actually the "intended behaviour"? :) -- View this message in context: http://camel.465427.n5.nabble.com/Timer-with-delay-0-and-repeatCount-1

Re: camel threshold

2013-08-12 Thread Jon Anstey
Routes keep going until they are paused or stopped. Your best bet is probably a custom RoutePolicy http://camel.apache.org/routepolicy.html that does the custom throttling (pausing or stopping a route i guess) after X exchanges. On Mon, Aug 12, 2013 at 7:53 AM, kiranreddykasa wrote: > Hi > > How

Re: Bug with 'addEventNotifier' - fires two 'exchange sent' events for each Exchange sent.

2013-08-12 Thread pmcb55
Hi Claus, Ok, great. But you seem to be implying that this is 'correct' behaviour - which I don't quite understand. What is the value of the events fired from the ProducerTemplate when the underlying code fires the same events anyway? I guess maybe I'm still missing something here... So how would

camel threshold

2013-08-12 Thread kiranreddykasa
Hi How can we find out the threshold for any camel route ? I mean how to find the maximum number of messages a particular route can process and it can't take any more messages. I came across camel throttle , if the threshold is reached the new messages will be saved somewhere for processing ?

How to Add Routepolicy to RouteBuilder Dynamically

2013-08-12 Thread Dayakar
Hi, I am creating a RouteBuilder dynamically by using Factory Mechanism. RouteBuilder routeBuilder = subscriptionFactory.getRouteBuilder("Cancer"); For this Route I need to add .routePolicy(createRoutePolicy()). routeBuilder.routePolicy(createRoutePolicy()) is not allowing How can i add RouteP

Re: moveFailed is failing when streaming is on

2013-08-12 Thread atluris
shareUnitOfWork=true moved file to 'moveFailed' directory, but onException ( onException(Exception.class).to("direct:handleFailure"); ) is not invoked. I tried deadLetterChannel( errorHandler(deadLetterChannel("direct:handleUFMFailure")); ) instead. handleUFMFailure is invoked this time, but file i

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Taariq, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/g6zhnl-hk9conry-5u/isd/15702247933/lbyR6

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Chris, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/-7bivmb-hk9corte-1y/isd/15702249768/7gSHs

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/-6yz5n1-hk9coun7-13/isd/15702249723/dv1TB

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/ogovyv-hk9corrv-6j/isd/15702069770/zfA8fd

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Chris, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/-b3bas4-hk9coute-29/isd/15702249615/QG06p

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Christian, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/ukjf6d-hk9conzb-2f/isd/15702069765/7w

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Walzer, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/-1qra2-hk9cooot-6w/isd/15702248089/DDGxk

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/-m4vua6-hk9corx1-21/isd/15702071023/NIrm-

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Chris, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/-rntz5c-hk9conup-2x/isd/15702071026/ZWN4l

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/bdipqe-hk9coobc-3o/isd/15702069742/okVYI8

Re: camel-quartz and support for quartz 2.x

2013-08-12 Thread Claus Ibsen
Camel 2.12 will include a camel-quartz2 component http://camel.apache.org/quartz2 On Mon, Aug 12, 2013 at 9:14 AM, ravishankar.singaram wrote: > Hi Patrick, > > Did you find any luck in implementing Quartz 2.x for Camel? > > Note: We are trying to employ Quartz for enabling multi-node clustering

Re: Camel Performance

2013-08-12 Thread Claus Ibsen
Hi You can use any of the languages at http://camel.apache.org/languages For example mvel or ognl should be faster in 2.10.x for this use-case. On Sat, Aug 10, 2013 at 6:01 AM, salemi wrote: > Claus, > > Coming back to simple language performance. If I take out the choice the > performance is

RE: camel-quartz and support for quartz 2.x

2013-08-12 Thread ravishankar.singaram
Hi Patrick, Did you find any luck in implementing Quartz 2.x for Camel? Note: We are trying to employ Quartz for enabling multi-node clustering for our camel routes. There was some issues while using the default Quartz version, we felt should upgrade to the latest Quartz version. - Ravish

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/bdipqe-hk9c919f-2y/isd/15702069742/okVYI8

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/-m4vua6-hk9c955g-1o/isd/15702071023/NIrm-

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/ogovyv-hk9c918d-55/isd/15702069770/zfA8fd

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Christian, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/ukjf6d-hk9c9189-6h/isd/15702069765/7w

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/bgj97g-hk9c91bx-4y/isd/15702069725/YNYEZ5

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Chris, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/-rntz5c-hk9c990w-65/isd/15702071026/ZWN4l

Invitation to connect on LinkedIn

2013-08-12 Thread prabumc...@gmail.com
LinkedIn Claus, I'd like to add you to my professional network on LinkedIn. - prabu prabu narayanan Senior software engineer at Opus Software Solutions Chennai Area, India Confirm that you know prabu narayanan: https://www.linkedin.com/e/fegvf3-hk9c91b1-1b/isd/15702069743/hE0t69