We are trying to use Camel to bridge two distinct JMS messaging environments
- Tibco & Fiorano. When we are trying to pass simple POJO across teh bridge
we get a JMS exception, which we are not able to figure out.
from("source-jms-endpoint:" + sourceCtxProps.getProperty("destination.type")
+ ":" + sourceCtxProps.getProperty("destination.name"))
.to("sink-jms-endpoint:" +
sinkCtxProps.getProperty("destination.type") + ":" +
sinkCtxProps.getProperty("destination.name"));
We have tried these 3 options -
1) With keeping the default camel mapping
We get a deserilaization exception
2) using mapJmsMessage=false option
16:38:08,387 WARN [DefaultMessageListenerContainer] Execution of JMS
message listener failed
org.apache.camel.spring.spi.TransactedRuntimeCamelException:
org.springframework.jms.UncategorizedJmsException: Uncategorized exception
occured during JMS pro
cessing; nested exception is fiorano.jms.common.FioranoException: Invalid
Arguments supplied to JMS method invocation
3) mapJmsMessage=false&useMessageIDAsCorrelationID=true
17:05:10,872 WARN [DefaultMessageListenerContainer] Execution of JMS
message listener failed
org.apache.camel.spring.spi.TransactedRuntimeCamelException:
org.springframework.jms.UncategorizedJmsException: Uncategorized exception
occured during JMS processing; nested exception is
fiorano.jms.common.FioranoException: Invalid arguments passed to the method
:: Failed to setJMSCorrelationID for messages,the correlationID specified is
null
Can anybody give some pointers on what's going on here ?
Thanks very much !
--
View this message in context:
http://old.nabble.com/Camel-JMS-Exception---Invalid-Arguments-supplied-to-JMS-method-invocation-tp27758380p27758380.html
Sent from the Camel - Users mailing list archive at Nabble.com.