Re: Updating properties via JMX

2013-10-02 Thread PMulido
Fair enough. Let me rephrase it this way: Is there a way one could write an MBean to list / get / set properties that Camel currently accesses via the {properties:XYZ_VAR} syntax ? -- View this message in context: http://camel.465427.n5.nabble.com/Updating-properties-via-JMX-tp5740716p574078

Re: Updating properties via JMX

2013-10-01 Thread PMulido
We are using JMX within Camel and using JConsole to maniputes MBeans and routes / contexts etc. We are also using a jolokia agent and able to connect using hawtio. The issue is we can't seem to see properties within JMX that are loaded via org.springframework.beans.factory.config.ListFactoryBean

Updating properties via JMX

2013-10-01 Thread PMulido
I know properties can be updated in a running camel instance by updating the properties file directly. Is there any way to expose / update properties via JMX? The use case would be turning a property of SEND_EMAIL=true to false via JMX ? -- View this message in context: http://camel.465427.

Re: MongoDB component found but TypeConverter is NoClassDefFoundError

2013-07-01 Thread PMulido
Camel 2.11.0 using camel-mongodb-2.11.0.jar. The odd thing is that I can do a "get" from mongodb. It's when the TypeConverters are being invoked that the error is happening. -- View this message in context: http://camel.465427.n5.nabble.com/MongoDB-component-found-but-TypeConverter-is-NoClass

MongoDB component found but TypeConverter is NoClassDefFoundError

2013-06-28 Thread PMulido
I have a weird issue happening with the mongodb component. I have an XML Camel route that has a to endpoint configured as a mongodb insert. When I run it, I get a TypeConversionException due to java.lang.NoClassDefFoundError. / 'org.apache.camel.component.mongodb.CamelMongoDbException:

File URI + JDBC Idempotent Repository + new file key

2013-05-20 Thread PMulido
Can I use a customized JdbcMessageIdRepository as the idempotentRepository in a File URI ? And if so, can I use the updated idempotentKey against this JdbcMessageIdRepository. i.e. from uri="file:directory?idempotentRepository=#JDBCRepo&idempotentKey=${file:name}-${file:modified}-${file:size} ..