Re: Add new route runtime

2013-10-17 Thread lassesvestergaard
Great. Thanks for your comments. I am actually creating the application as a webapplication (jsf), and I'm using Tomcat for that. This means that I know about auto deploying war file. As I see it, the problem is that I can't just deploy a new war when ever I want to insert a new route (written in P

Re: Can't move excel files correctly, ActiveMQ bug?

2013-10-17 Thread niels_s
Hey James, I think I'm going nuts. I can't reproduce my error anymore. Thanks for helping me testing some things! -- View this message in context: http://camel.465427.n5.nabble.com/Can-t-move-excel-files-correctly-ActiveMQ-bug-tp5741661p5741727.html Sent from the Camel - Users mailing list arc

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread dmytro.puzhay
Hi, thanks for answer. I've sent an email to users-subscr...@camel.apache.org and got confirmation link. After that I keep receiving emails about replies to posts I didn't know exist. I want to be able to freely post to this forum and get email notification if somebody replies TO THE TOPIC I'VE C

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread Claus Ibsen
On Thu, Oct 17, 2013 at 10:47 AM, dmytro.puzhay wrote: > Hi, thanks for answer. > > I've sent an email to users-subscr...@camel.apache.org and got confirmation > link. After that I keep receiving emails about replies to posts I didn't > know exist. > > I want to be able to freely post to this foru

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread dmytro.puzhay
Thanks for your answer Claus, but I didn't want to use any mailing lists in the first place, I am a camel user, I want to post my question, get answers and reply, I obviously don't want to get tons of emails about all camel issues around there, that doesn't make any sence! Once again, let's forget

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread Claus Ibsen
Try stackoverflow ASF = Apache Software Foundation. On Thu, Oct 17, 2013 at 11:45 AM, dmytro.puzhay wrote: > Thanks for your answer Claus, but I didn't want to use any mailing lists in > the first place, I am a camel user, I want to post my question, get answers > and reply, I obviously don't

Re: camel web service proxy example hosted in Tomcat?

2013-10-17 Thread Claus Ibsen
There is also this example http://camel.apache.org/cxf-proxy-example.html And this http://camel.apache.org/how-to-use-camel-as-a-http-proxy-between-a-client-and-server.html On Wed, Oct 16, 2013 at 9:06 PM, cbuxbaum wrote: > Ok, got most of it to work. For some reason, if I add dataFormat="MESSA

Re: standalone camel stops routing for hour at daylight saving change

2013-10-17 Thread Claus Ibsen
Camel uses the JDK Timer to trigger, so maybe the daylight saving is affect it also. Maybe search the web about that. On Wed, Oct 16, 2013 at 7:31 PM, rpcat wrote: > My standalone camel app stops routing when I simulate daylight saving time > change by setting the system time back an hour (e.g. d

Re: Camel Javascript Leak

2013-10-17 Thread Claus Ibsen
Hi I have noticed a problem and logged a ticket https://issues.apache.org/jira/browse/CAMEL-6870 On Mon, Oct 14, 2013 at 11:01 AM, Claus Ibsen wrote: > Hi > > Yeah sounds like some resources need to be closed after processing the > javascript. Feel free to dive into the code to see if you can fi

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread Christian Müller
Unsubscribe from the Camel mailing list. Create an Account on Nabble (if you don't have one already). Post you question via Nabble ( http://camel.465427.n5.nabble.com/Camel-Users-f465428.html) and check the box "Alert me by email when someone posts to this thread". That's all. Best, Christian ---

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread dmytro.puzhay
Hi Christian, thanks a lot, that's probably what I was looking for. So I unsubscribed from users@camel.apache.org and confirmed it. I already have Nabble account (I am able to login to http://camel.465427.n5.nabble.com/Camel-Users-f465428.html with it) and I clicked "Options -> Subscribe via email

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread Christian Mueller
That's true. Your mail will not be forwarded to the mailing list until one of the forum moderators moderate your mail. This may take a while and cost a bit of time from the moderators... That's why we don't prefer this way and ask the users to subscribe to the mailing list. Best, Christian -- V

Re: Add new route runtime

2013-10-17 Thread Christian Mueller
Reji, can you please subscribe to the discussion forum in Nabble as we describe here [1]. Otherwise all your mails has to be moderate manually by the Camel team so that your post is also send to our mailing list which most of the Camel team member are using instead of Nabble. Therefore your post i

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread dmytro.puzhay
I understand, but isn't it kind of strange to ask regular users to subscribe for all the notifications about camel? Can't posts from users registered an Nabble moderated automatically? Why the mailing list is needed anyway if one can simply subscribe for the whole forum? Christian Mueller wrote >

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread Christian Mueller
This is how we work in the ASF - with mailing lists. You can subscribe to the lists you are interested in it and follow the discussions. Nabble != ASF mailing list. Therefor, the ASF mailing list doesn't know whether you are an registered user on Nabble or not. Nabble is only one of the discussio

Re: Can't move excel files correctly, ActiveMQ bug?

2013-10-17 Thread James Carman
No worries. That's what we're here for. I'm trying to just build upon this "sandbox" project I've been creating. I'll refer to this thread in the JavaDoc so that we have a trace back to where the example came from! :) On Thu, Oct 17, 2013 at 4:03 AM, niels_s wrote: > Hey James, > > I think I'

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread dmytro.puzhay
Thanks for the explanation, but it would be much more convenient for me to check unresolved topics which are out of my scope when I have time and not to get emails for every reply :) P.S. On top of the http://camel.465427.n5.nabble.com/Camel-Users-f465428.html I found "This forum is an archive for

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread James Carman
I don't think it's possible. You could alternatively subscribe to the 'digest' notifications (once per day). Send an email to users-h...@camel.apache.org to get instructions on how to do that. James On Thu, Oct 17, 2013 at 4:47 AM, dmytro.puzhay wrote: > Hi, thanks for answer. > > I've sent an

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread dmytro.puzhay
Hi James, thanks for answer. It looks like now I only get notifications for topics I am subscribed to. Does one still have to moderate my posts? James Carman wrote > I don't think it's possible. You could alternatively subscribe to the > 'digest' notifications (once per day). Send an email to

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread James Carman
Only if you want to get them answered ;) On Thu, Oct 17, 2013 at 9:44 AM, dmytro.puzhay wrote: > Hi James, thanks for answer. It looks like now I only get notifications for > topics I am subscribed to. Does one still have to moderate my posts? > > > James Carman wrote >> I don't think it's possi

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread dmytro.puzhay
And what about http://camel.465427.n5.nabble.com/Being-able-to-post-and-reveice-email-notification-to-subscribed-posts-tp5741693p5741765.html ? James Carman wrote >

Re: camel-rabbitmq : not able to publish messages

2013-10-17 Thread tsv
Hi Reji, The queue name is in the endpoint option '&queue=myqueue&'. By removing noop=true did not help, it’s behaving the same, rabbitmq connection is opened and no channel, exchange, queue or message is created. I even replaced RabbitMQ Client version to:2.8.2 from: 3.1.5 this also has no effect.

Re: API to determine the last time a route was successfully executed

2013-10-17 Thread Christian Posta
Zemian is correct. Try something like this out... MBeanServer server = context.getManagementStrategy().getManagementAgent().getMBeanServer(); ObjectName routeName = ObjectName.getInstance("org.apache.camel:context=localhost/camel-1,type=routes,name=\"route1\""); Date lastCompleted = (Date) mbea

RE: How to provide basic authoraizaton (user & password) in Spring DSL to acess rest webservice

2013-10-17 Thread siddharthrajjain
you can try : -- View this message in context: http://camel.465427.n5.nabble.com/How-to-provide-basic-authoraizaton-user-password-in-Spring-DSL-to-acess-rest-webservice-tp5741597p5741776.html Sent from the Camel - Users mailing list a

How to mock a processor

2013-10-17 Thread Olaf
Hello, I'm trying to test a simple route which downloads emails and then split attachments, replace body and sends each attachment to an another email. Now, ReplaceBodyProcessor does some network calls and I'd like to mock it out and simulate its work, to avoid external calls. What is the right wa

Re: How to mock a processor

2013-10-17 Thread Christian Posta
Take a look here: http://camel.apache.org/mock.html and the "Mocking existing endpoint" section On Thu, Oct 17, 2013 at 11:15 AM, Olaf wrote: > Hello, > > I'm trying to test a simple route which downloads emails and then split > attachments, replace body and sends each attachment to an anot

Re: How to mock a processor

2013-10-17 Thread Olaf
Thanks! That helps a lot. Somehow, I can only mock with weaveBeId method: weaveById("ReplaceBodyProcessor").replace().to("mock:ReplaceBodyProcessor"); then it is ReplaceBodyProcessor is skipped in test. If using weaveByToString(".*ReplaceBodyProcessor.*").replace().to("mock:ReplaceBodyProces

Re: How to mock a processor

2013-10-17 Thread contactreji
I shall give u a small advice on this . Pls note. All components don't support attachment . Attachments in the Camel exchange might be lost while passing throughout some Camel components. So by rule of thumb, make sure attachments are added to the exchange just before calling an email component

Re: camel-rabbitmq : not able to publish messages

2013-10-17 Thread Christian Posta
Camel uses the rabbitmq libs, v3.1.3, so should support 0-9-1/0-9/0-8 protocols. The camel producer will not create the exchange/queue. Do you not see any exceptions in the log? On Thu, Oct 17, 2013 at 8:53 AM, tsv wrote: > Hi Reji, > The queue name is in the endpoint option '&queue=myqueue&'.

Re: How to mock a processor

2013-10-17 Thread Christian Posta
It would be wise to give your nodes IDs so you can intercept them easier: eg: .process(new ReplaceBodyProcessor()).id("replaceBody") I'm not even sure how it did work for you with weaveById("ReplaceBodyProcessor") because camel uses a default id of "processN" where N is an incrementing integer

Re: camel-rabbitmq : not able to publish messages

2013-10-17 Thread tsv
I don’t see any errors in the logs, it’s only info/debug logs (given below). I even created the exchange (direct durable) and the queue (durable) manually. This only helped in establishing the connection and also the idle channel was created from camel but no message was published to the queue. I u

Re: How to mock a processor

2013-10-17 Thread Olaf
I did add the id later, so it worked, but weaveByToString does not work. Anyway, I'm going to use ids -- View this message in context: http://camel.465427.n5.nabble.com/How-to-mock-a-processor-tp5741786p5741801.html Sent from the Camel - Users mailing list archive at Nabble.com.

onException not triggered

2013-10-17 Thread Bilgin Ibryam
Hi Camel riders, I'm trying to figure out why onException is not triggerd in the following route. The solution I found is to use try-catch instead, but I'd prefer to have it work only with errorHandler and onException import org.apache.camel.builder.RouteBuilder; import org.apache.camel.test.jun

Re: Being able to post and reveice email notification to subscribed posts

2013-10-17 Thread Christian Müller
To be honest, I'm not aware of this feature. Best, Christian - Software Integration Specialist Apache Member V.P. Apache Camel | Apache Camel PMC Member | Apache Camel committer Apache Incubator PMC Member https://www.linkedin.com/pub/christian-mueller/11/551/642 On Thu, Oct

Re: web services integration with Apache Camel

2013-10-17 Thread Christian Müller
Apache Camel (and CXF) are the right frameworks for your needs. Have a look at [1] where you get some examples which makes it easier for you to get started. [1] http://camel.apache.org/examples.html Best, Christian - Software Integration Specialist Apache Member V.P. Apache Cam

Re: onException not triggered

2013-10-17 Thread Christian Posta
Maybe someone else can explain the reasoning for this behavior, but what's happening is: your errorHandler is handling the exception in route 2, but it doesn't see any exception handlers (none declared on the immediate route, and none globally defined). so it just tries redelivery, marks it as "F

hawtio - modular

2013-10-17 Thread aedwards
Hey guys, there doesn't seem to be a forum for hawtio, so figured this is as good place as any to discuss. Let me know if there's a better spot. I currently have a custom grails web application fronting camel, spring batch and some other tools. This app is a little purpose specific at the moment

Re: web services integration with Apache Camel

2013-10-17 Thread Claus Ibsen
Hi Welcome to the Camel community. If you are new to Camel then I suggest to read this article which really explains well what Apache Camel is in a 5 minute read http://java.dzone.com/articles/open-source-integration-apache Apache Camel is a framework (library if you will) that is not dependent

Re: zip file best practices

2013-10-17 Thread peter
I believe there was an original request on this post for someone to please show how to use the ZipSplitter with Spring DSL. But I have not seen this anywhere and I have not been able to get it to work. Here is a snippet of my attempt: http://camel.apache.org/schema/spring";>