I recently updated my projects from camel 2.10 which was running under
jboss-fuse-6.0.0.redhat-024 to camel 2.12 in new
fuse-fabric-7.3.0.redhat-199 and run into some problem with MVEL.
The problem seems to be related to OSGI environment/ class loaders.
I have just forked the Camel github repo and added some code to
camel-example-osgi project to reproduce exact problem.
(https://github.com/andrzej-majewski/camel/commit/05cce19688c35126d9a190427260b2bd06a12162)
I am happy to create pull request if that works better but i guess there
should be a ticket created first.
Additionally I have seen JIRA ticket (CAMEL-6680: mvel compiles expression
setting TCCL to classloader ) which was suppose to fix similar. However in
my experience it only make the problem worst.
Any idea how to fix that??
ERROR | umer[myMvelTest] | DefaultErrorHandler |
rg.apache.camel.util.CamelLogger 215 | 73 - org.apache.camel.camel-core -
2.13.0.SNAPSHOT | Failed delivery for (MessageId:
ID:localhost-53318-1389377019021-1:1:1:1:56 on ExchangeId:
ID-localhost-50885-1389373016025-4-57). Exhausted after delivery attempt: 1
caught: org.apache.camel.CamelExecutionException: Exception occurred during
execution on the exchange: Exchange[JmsMessage[JmsMessageID:
ID:localhost-53318-1389377019021-1:1:1:1:56]]
Message History
jboss-fuse-6.0.0.redhat-024 to camel 2.12 in new
fuse-fabric-7.3.0.redhat-199 and run into some problem with MVEL.
The problem seems to be related to OSGI environment/ class loaders.
I have just forked the Camel github repo and added some code to
camel-example-osgi project to reproduce exact problem.
(https://github.com/andrzej-majewski/camel/commit/05cce19688c35126d9a190427260b2bd06a12162)
I am happy to create pull request if that works better but i guess there
should be a ticket created first.
Additionally I have seen JIRA ticket (CAMEL-6680: mvel compiles expression
setting TCCL to classloader ) which was suppose to fix similar. However in
my experience it only make the problem worst.
Any idea how to fix that??
ERROR | umer[myMvelTest] | DefaultErrorHandler |
rg.apache.camel.util.CamelLogger 215 | 73 - org.apache.camel.camel-core -
2.13.0.SNAPSHOT | Failed delivery for (MessageId:
ID:localhost-53318-1389377019021-1:1:1:1:56 on ExchangeId:
ID-localhost-50885-1389373016025-4-57). Exhausted after delivery attempt: 1
caught: org.apache.camel.CamelExecutionException: Exception occurred during
execution on the exchange: Exchange[JmsMessage[JmsMessageID:
ID:localhost-53318-1389377019021-1:1:1:1:56]]
Message History