Re: camel-example-spring-boot-metrics

2016-07-07 Thread Camel Guy
Hello, A step-by-step guide that addresses this email can be found at http://ow.ly/NbbP3021CVe Enjoy, ~cg On Tue, Jul 5, 2016 at 4:15 PM, Camel Guy <ca...@devguy.com> wrote: > Hello, > > I have a Graphite server running and tested. > camel-example-spring-boot-metrics

camel-example-spring-boot-metrics

2016-07-05 Thread Camel Guy
Hello, I have a Graphite server running and tested. camel-example-spring-boot-metrics' Application.java settings are correct for my installation. When I run the example and look at the Graphite dashboard, I don't see any metrics related to camel-example-spring-boot-metrics. Where should I look?

Re: Register a new datasource from a route

2015-10-19 Thread Camel Guy
A similar question was asked on Stack Overflow two months ago. A solution is posited by the author who also made a suggestion for making this use case easier. http://stackoverflow.com/questions/31604721/using-a-custom-registry-in-a-camel-application On Thu, Feb 5, 2015 at 7:46 AM, Camel Guy <

2.16.0: Property placeholders inside

2015-10-14 Thread Camel Guy
Hello, I require property placeholders inside and outside of (see https://issues.apache.org/jira/browse/CAMEL-7849). I have the following defined outside : classpath:default.properties Unlike in 2.15.3, throws errors like: Could not resolve placeholder 'body' in

Re: 2.16.0: Property placeholders inside

2015-10-14 Thread Camel Guy
ing ${ as property placeholders as it did before 2.16.0 Thank you, cg On Wednesday, October 14, 2015, Camel Guy <ca...@devguy.com> wrote: > Hello, > > I require property placeholders inside and outside of (see > https://issues.apache.org/jira/browse/CAMEL-7849). > > I have th

Re: Rest DSL with jetty and SSL

2015-05-29 Thread Camel Guy
I'd also love to see the solution to this. On Wed, May 27, 2015 at 1:48 PM, btt423 bta...@diversecomputing.com wrote: I was originally testing out the Rest DSL and using Jetty as the server. This works great and I'm a big fan. My next step was to try and get SSL working with my test

Re: Is there threads for Spring XML?

2015-04-27 Thread Camel Guy
Nevermind. I found threads via 10.3.1 Camel in Action. On Mon, Apr 27, 2015 at 11:50 AM, Camel Guy ca...@devguy.com wrote: How do I get functionality like .threads(5,10) in Spring XML? Thank you, ~ cg

Is there threads for Spring XML?

2015-04-27 Thread Camel Guy
How do I get functionality like .threads(5,10) in Spring XML? Thank you, ~ cg

Re: [DISCUSS] Looks like someone feels threatened... (TIBCO vs Open Source ESBs)

2015-04-26 Thread Camel Guy
I can't imagine getting my boss to pay for something like TIBCO. That would require quite a sales job. With one exception, the developers I know wouldn't even use Camel. They tend to reinvent the wheel. But they do use Spring and a few even use Spring Integration. In order to commit to something

Re: Does the Simple language have an easy way to get the current exchange object?

2015-03-18 Thread Camel Guy
in log. ~ cg On Wed, Mar 18, 2015 at 1:00 PM, Claus Ibsen claus.ib...@gmail.com wrote: There is a route id function ${routeId} See the functions in the table at http://camel.apache.org/simple On Wed, Mar 18, 2015 at 8:48 PM, Camel Guy ca...@devguy.com wrote: Deep in the message stack I

Getting the routeId in a PollingConsumer via a custom PollingStrategy

2015-03-18 Thread Camel Guy
Ideally, Camel error handling would work with PollingConsumers when the poll failed. For example, a bad password is provided to the mail component. In that case I would like to invoke an endpoint. Or, there would be an option to make the route process an empty body. Neither are possible so I

Does the Simple language have an easy way to get the current exchange object?

2015-03-18 Thread Camel Guy
${exchange} doesn't seem to work Thanks, ~dg

Re: Does the Simple language have an easy way to get the current exchange object?

2015-03-18 Thread Camel Guy
...@gmail.com wrote: Hi No what is the use-case? On Wed, Mar 18, 2015 at 8:18 PM, Camel Guy ca...@devguy.com wrote: ${exchange} doesn't seem to work Thanks, ~dg -- Claus Ibsen - Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com

Re: Endpoint uri: Questionmark as part of password

2015-02-03 Thread Camel Guy
Hey, only 2.5 years later! Check out RAW. See: http://cosmo-opticon.net/blog/2014/12/23/escaping-endpoint-uris-in-camel ~cg -- View this message in context: http://camel.465427.n5.nabble.com/Endpoint-uri-Questionmark-as-part-of-password-tp5718378p5762369.html Sent from the Camel - Users

getRouteDefinition throws NullPointerException in CamelSpringTestSupport before context is started

2014-11-22 Thread Camel Guy
Camel 2.14.0 I am extending CamelSpringTestSupport with: @Override public boolean isUseAdviceWith() { return true; } In a @Before method I call context.getRouteDefintion(some.id) It throws an exception:

Re: Register a new datasource from a route

2014-11-20 Thread Camel Guy
://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On November 20, 2014 at 1:21:38 PM, Camel Guy (ca...@devguy.com) wrote: Hello, I was wondering if a route could invoke a bean (or run, say, a groovy script) that registered a new datasource

Headaches using PostgreSQL and Camel with connection pooling

2014-11-19 Thread Camel Guy
I have discovered that PostgreSQL, Camel, and connection pools are a toxic combination when the schema search path isn't set on a per-user basis (which I can not do). Part of the problem is that the Postgres JDBC doesn't want to add schema search path to the url. As a work-around, the jdbc/sql

Register a new datasource from a route

2014-11-19 Thread Camel Guy
Hello, I was wondering if a route could invoke a bean (or run, say, a groovy script) that registered a new datasource. Something like: route :: 1) Instantiate datasource 2) Add datasource instance to the registry under key A 3) recipientList(jdbc:A?...) This datasource needs to be created long

Re: Best way to discard changes made to Exchange by invoked route

2014-11-14 Thread Camel Guy
, Camel Guy ca...@devguy.com wrote: Hi Claus, Indeed, after running a test program, I confirmed that enrich and recipientList 'hide' changes made to properties but not to headers. This is not the case, however, for dynamicRouter, which doesn't hide changes made to headers or properties. split

Re: Best way to discard changes made to Exchange by invoked route

2014-11-11 Thread Camel Guy
: See this FAQ http://camel.apache.org/why-is-my-message-body-empty.html On Tue, Nov 11, 2014 at 8:22 AM, Camel Guy ca...@devguy.com wrote: Hi Claus, Thanks for the pointer! This program logs INFO hello followed by an empty INFO message. I would like the second logged message to also be INFO

Re: Best way to discard changes made to Exchange by invoked route

2014-11-11 Thread Camel Guy
around On Tue, Nov 11, 2014 at 6:00 PM, Camel Guy ca...@devguy.com wrote: Hi Claus, Thank you again for your reply. Unfortunately I did not see anything in that FAQ that relates to my problem. From route A, I am invoking route B (serially) that deletes a header key. I would like the header key

Best way to discard changes made to Exchange by invoked route

2014-11-10 Thread Camel Guy
Hello, I am using Spring XML. I would like to invoke a route synchronously, passing the current Exchange. However, I want to discard the changes that the invoked route makes to the Exchange (e.g., modification of headers). So far this is the shortest recipe that results in the desired behavior:

Re: Best way to discard changes made to Exchange by invoked route

2014-11-10 Thread Camel Guy
, 2014 at 4:21 AM, Camel Guy ca...@devguy.com wrote: Hello, I am using Spring XML. I would like to invoke a route synchronously, passing the current Exchange. However, I want to discard the changes that the invoked route makes to the Exchange (e.g., modification of headers). So far

Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-22 Thread Camel Guy
both 2.14 and 2.13 etc. And can you paste the entire stracktrace of that error? On Sun, Sep 21, 2014 at 4:25 AM, Camel Guy ca...@devguy.com wrote: Deleted ~/.m2/repository and rebuilt everything. Same problem. Going back to 2.13.2. cg On Sat, Sep 20, 2014 at 9:02 AM, Camel Guy ca

Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Camel Guy
Hello, I'm getting this with the Restlet component in 2.14.0. java.lang.NoClassDefFoundError: org/apache/camel/spi/RestConsumerFactory Thank you, ~dg

Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Camel Guy
. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English) http://jnn.iteye.com (Chinese) Twitter: willemjiang Weibo: 姜宁willem On September 20, 2014 at 2:08:34 PM, Camel Guy (ca...@devguy.com javascript:;) wrote: Hello, I'm getting this with the Restlet component

Re: Camel 2.14.0 Restlet: NoClassDefFoundError

2014-09-20 Thread Camel Guy
Deleted ~/.m2/repository and rebuilt everything. Same problem. Going back to 2.13.2. cg On Sat, Sep 20, 2014 at 9:02 AM, Camel Guy ca...@devguy.com wrote: Looks like the latest one to me. Also, I ran -U with mvn install and also clean. I will try again in a few hours. cg On Saturday

camel-spark-rest

2014-07-18 Thread Camel Guy
Hello, The spark-rest component looks awesome but I don't see a way to change the port # or specify authentication details as with camel-restlet. Are those details deferred to tomcat or jetty config? And the question everyone hates: Is there an estimated 2.14.0 release date? I can't wait to use

Re: Best suitable architecture using Camel

2014-06-18 Thread Camel Guy
Do Camel components save you time? Does Camel encourage you to build software in a way that might be constraining but also might have some wisdom behind it? For example, do all Camel programs feel familiar? You can only decide by riding Camel around for a while. Is Camel better than writing

Re: Missing Important Use Case in Camel - Enrich current exchange using Consumer

2014-06-05 Thread Camel Guy
When I first started using Camel, I thought it was strange that the mongodb component returned data via to .. instead of from ... Eventually I figured it out. BTW, I still haven't memorized the definitions of producer and consumer in Camelspeak because I can't keep them straight. Similar to your

Re: Self-termination of a Camel program

2014-05-30 Thread Camel Guy
an example before that. --Matt Payne On Thu, May 29, 2014 at 12:12 PM, Camel Guy ca...@devguy.com wrote: Hello again fellow riders, I would like to my camel program to terminate shortly after the camel context stops. I know how to stop a camel context in a background thread. I have

Self-termination of a Camel program

2014-05-29 Thread Camel Guy
Hello again fellow riders, I would like to my camel program to terminate shortly after the camel context stops. I know how to stop a camel context in a background thread. I have indeed verified that no routes are running via jconsole. etc. When using the Maven camel-exec plugin, apparently the

Re: gauth uses oauth version 1 or 2?

2014-05-27 Thread Camel Guy
Hello, Answering my own question.. guath uses oauth 1.0. I am abandoning gauth (which was really nice to use) for this library https://github.com/fernandezpablo85/scribe-java Not only does it use oauth 2.0 but it supports Microsoft oauth too. ~cg On Thu, May 22, 2014 at 7:43 AM, Camel Guy

gauth uses oauth version 1 or 2?

2014-05-22 Thread Camel Guy
Hello, For Camel 2.13.1, does the gauth component use version 1 or 2? If 1, are there plans to upgrade? Thank you

Re: Puzzler: Best NoOp route

2014-05-20 Thread Camel Guy
Hm. Does that stop the invoking route too? On Monday, May 19, 2014, Claus Ibsen claus.ib...@gmail.com wrote: Hi Maybe use /stop is the shortest route from ... /stop /route On Mon, May 19, 2014 at 9:34 PM, Camel Guy ca...@devguy.comjavascript:; wrote: Hello, I'm building

Puzzler: Best NoOp route

2014-05-19 Thread Camel Guy
Hello, I'm building a framework in Spring DSL and I need a route that does nothing (e.g., testing mode). Since a route has to do something (otherwise Spring DSL fails), ?? below must be replaced by something. route from uri=direct:NoOp/ ?? /route I was using transformsimple//transform but I

Re: camel - osgi

2014-05-16 Thread Camel Guy
There are third parties that will recognize changes to the spring XML file and dynamically restart routes, create new ones, etc - on the fly. This concept is the goal of osgi in my opinion. Today if you want to distribute changes to your out of the box camel spring app it's still pretty primitive.

Re: mail component: Stopping consumer when there are no more mails to read

2014-05-16 Thread Camel Guy
- there should be an if statement here to check for sendEmptyMessageWhenIdle=true getProcessor().process(getEndpoint().createExchange()); // New } // New On Tue, May 13, 2014 at 9:20 PM, Camel Guy ca...@devguy.com wrote: Hello, I'm using Camel 2.13.0 with the mail component

mail component: Stopping consumer when there are no more mails to read

2014-05-15 Thread Camel Guy
Hello, I'm using Camel 2.13.0. I'm using imaps: and would like to know when all messages have been fetched from the server. I tried using sendEmptyMessageWhenIdle=true but my route never sees a null body. Should I resort to a more manual PollingConsumer EIP approach? Thank you

2.13.1 jars in Maven central repo returning 404's

2014-05-14 Thread Camel Guy
mail stream e.g., wget http://repo.maven.apache.org/maven2/org/apache/camel/camel-stream/2.13.1/camel-stream-2.13.1.jar --2014-05-13 14:56:55-- http://repo.maven.apache.org/maven2/org/apache/camel/camel-stream/2.13.1/camel-stream-2.13.1.jar Resolving repo.maven.apache.org... 199.27.77.129,

2.13.1 jars in Maven central repo returning 404's

2014-05-13 Thread Camel Guy
Components: mail stream e.g., wget http://repo.maven.apache.org/maven2/org/apache/camel/camel-stream/2.13.1/camel-stream-2.13.1.jar --2014-05-13 14:56:55-- http://repo.maven.apache.org/maven2/org/apache/camel/camel-stream/2.13.1/camel-stream-2.13.1.jar Resolving repo.maven.apache.org...

mail component: Stopping consumer when there are no more mails to read

2014-05-13 Thread Camel Guy
Hello, I'm using Camel 2.13.0 with the mail compoent (imaps:). I would like to know when all messages have been fetched from the server so I can stop polling. I tried using sendEmptyMessageWhenIdle=true but my route never sees a null body. Should I resort to a more manual PollingConsumer EIP