Thanks all - lots of good suggestions for me to look into.
Claus - I should have added that in my notional example, I did not intend
either Bean to be a singleton. So I need a more dynamic strategy than simply
setting static properties using IoC. That said, I should be able to find a
good solution
On Thu, Jul 14, 2011 at 7:41 PM, Jeff Segal wrote:
> I'd like to know the best way to add domain-specific context information to
> Exchanges linked to a particular RouteBuilder. Let's say that I have the
> following:
>
> public class MyRouteBuilder extends RouteBuilder {
>
> String someProperty
-
Ben O'Day
IT Consultant -http://consulting-notes.com
--
View this message in context:
http://camel.465427.n5.nabble.com/Adding-properties-to-an-Exchange-tp4587592p4587635.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Sorry...make that
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/model/ProcessorDefinition.html#setProperty(java.lang.String,
org.apache.camel.Expression)
On Thu, Jul 14, 2011 at 1:51 PM, Donald Whytock wrote:
> Actually, you don't need the Processor, if it's a relativ
Actually, you don't need the Processor, if it's a relatively static
value. You can use
from().setProperty().to()
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/model/ProcessorDefinition.html#setProperty(java.lang.String)
Don
On Thu, Jul 14, 2011 at 1:41 PM, Jeff Seg
I'd like to know the best way to add domain-specific context information to
Exchanges linked to a particular RouteBuilder. Let's say that I have the
following:
public class MyRouteBuilder extends RouteBuilder {
String someProperty;
@Override
public void configure() throws Exception {