Re: Delayer: Transport disposed at JVM-Shutdown
On Fri, Mar 13, 2009 at 5:56 PM, Markus Reil gistenju...@gmx.de wrote: Hi, does anyone have an idea here please? I tried to configure a global errorHandler like errorHandler(loggingErrorHandler(com.kekaya.activemq)); or errorHandler(deadLetterChannel(direct:err).maximumRedeliveries(0)); but the Exception still gets processed by camel's default DeadLetterChannel. If you do NOT way any error handling in camel just set the error handler to no error handler :) Yeah maybe we need a nicer DSL for disabling it errorHandler(noErrorHandler()); Setting up a custom ExceptionListener did not change anything. What do you mean? A onException or what? Any help is appreciated. Cheers, Markus -- View this message in context: http://www.nabble.com/Delayer%3A-%22Transport-disposed%22-at-JVM-Shutdown-tp22202167p22500700.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/
camel-activemq java.util.Map over JMS
Hi. I have a problem using camel activemq/jms components. I used to have a low level socket communication using Java serialization. One of responses contained a Serializable object that had a MapLong, ListLong as its member. When I use camel activemq/jms the returned object contains a MapString, ListLong. Did anybody encounter similar problem? Is it possible to configure jms/activemq to use Java serialization? Any ideas. BTW using jms/activemq on both (client/server) sides of the channel results in aforementioned behavior only on the client side. Server side accepts MapLong, ListLong parameter as expected. Camel configuration is as following: client: camel:camelContext trace=true camel:proxy id=test_remoting_service_proxy serviceInterface=a.b.c.TestService serviceUrl=activemq:queue:test.serviceQueue?exchangePattern=InOut/ /camel:camelContext server: camel:camelContext camel:export id=remoting_service serviceRef=test_remoting_service serviceInterface=a.b.c.TestService uri=activemq:queue:test.serviceQueue?exchangePattern=InOut / /camel:camelContext beans:bean id=test_remoting_service class=a.b.c.TestServiceImpl/ broker:broker useJmx=false persistent=false brokerName=localhost cacheTempDestinations=true enableStatistics=false broker:transportConnectors broker:transportConnector name=tcp uri=tcp://localhost:61616?trace=true/ /broker:transportConnectors /broker:broker !-- configure the activemq component -- beans:bean id=activemq class=org.apache.activemq.camel.component.ActiveMQComponent beans:property name=maxConcurrentConsumers value=10/ beans:property name=deliveryPersistent value=true/ beans:property name=concurrentConsumers value=5/ beans:property name=cacheLevelName value=CACHE_CONNECTION/ beans:property name=connectionFactory beans:bean class=org.apache.activemq.spring.ActiveMQConnectionFactory beans:property name=brokerURL value=tcp://localhost:61616/ /beans:bean /beans:property /beans:bean Thanks in advance. -- View this message in context: http://www.nabble.com/camel-activemq-java.util.Map-over-JMS-tp22519506p22519506.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.