Groovy script cannot import a class

2013-05-04 Thread Bazzer
I have a really simple Groovy script that I cannot get to run in Camel: causes the messages: Are there some restrictions about what exactly I can do with Groovy within Camel, or am I doing something horribly wrong? Thanks! Barry -- View this message in context: http://camel.465427.n5.n

Re: Dynamic from endpoint

2013-04-09 Thread Bazzer
I want to do the same thing, but we're using the Spring DSL. I was wondering if there was a way to use variable substitution, so I could change a bunch of routes at startup without changing all my route definitions, something like: with my routes defined like: or: -- View this message

Re: Processing "Simple" expressions in a Component Endpoint URL

2013-03-21 Thread Bazzer
Awesome! So it isn't so much getting my component to process the expression in the URL, as it is getting Camel to process the expression in the URL before the Endpoint gets created. Thank you! -- View this message in context: http://camel.465427.n5.nabble.com/Processing-Simple-expressions-in-

Processing "Simple" expressions in a Component Endpoint URL

2013-03-20 Thread Bazzer
Hi, I'm writing my own component and I wondered if it was possible for the Endpoint URL to be able to contain a Simple expression. For example: or I thought that perhaps Camel would process the URL before it was passed to the Component object, but I'm happy to invoke Simple myself if necess