Interceptor

2009-02-24 Thread mta38
Hi all, Is somebody already using its own interceptor in a xml spring configuration file? In fact, I want to know if in the following definition of intercept, the stop really stops route execution. Cause for me; all other routes are executed. intercept interceptor id=intercept1

Re: Is Mina custom codec overriding text line codec

2009-02-24 Thread huntc
Having delved into MinaComponent.java, I see that a configuration is copied on the creation of an endpoint i.e. MinaConfiguration config = configuration.copy(); on line 81. This configuration is created on instantiating the mina component (that should be just once right?). I'm guessing that

Re: Interceptor

2009-02-24 Thread Claus Ibsen
Hi You should not use the interceptor tag, only the intercept. For example: camelContext id=camel xmlns=http://camel.apache.org/schema/spring; intercept to uri=mock:middle1/ stop/ /intercept route from uri=direct:start/ to uri=mock:end/ /route

Re: Is Mina custom codec overriding text line codec

2009-02-24 Thread Claus Ibsen
Which version are you using? This is the code from the 1.x branch as I see it: protected EndpointMinaExchange createEndpoint(String uri, String remaining, Map parameters) throws Exception { if (LOG.isDebugEnabled()) { LOG.debug(Creating MinaEndpoint from uri: + uri);

Re: Is Mina custom codec overriding text line codec

2009-02-24 Thread huntc
One more contribution, and then I'll let someone else have a turn... As a work-around, if I specify the codec parameter with no value then all is well e.g.: mina:tcp://0.0.0.0:8201?codectextline=truetextlineDelimiter=WINDOWSsync=falseminaLogger=true -- View this message in context:

Re: Camel + ActiveMQ in Tomcat6

2009-02-24 Thread Claus Ibsen
Hi Have you tried NOT having camel-core.jar in /lib/ext, but putting all the camel jars in the WEB-INF/lib On Tue, Feb 24, 2009 at 2:34 PM, Markus Wolf markus.w...@nmmn.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I try to deploy a camel context using spring inside Tomcat6

Re: Camel + ActiveMQ in Tomcat6

2009-02-24 Thread James Strachan
2009/2/24 Markus Wolf markus.w...@nmmn.com: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi James, this approach does not help me, since when the ActiveMQ is created by tomcats webapplication classloader it cannot be undeployed. You don't have to create the broker in the WAR (or you could

Re: Camel + ActiveMQ in Tomcat6

2009-02-24 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Claus, we tried this but it throws this Exception during creation of the ActiveMQConnectionFactory: Caused by: java.lang.NoClassDefFoundError: org/apache/activemq/management/JMSStatsImpl at

Re: Camel + ActiveMQ in Tomcat6

2009-02-24 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this approach does not help me, since when the ActiveMQ is created by tomcats webapplication classloader it cannot be undeployed. You don't have to create the broker in the WAR (or you could put it in another WAR). This approach works totally

Re: Camel + ActiveMQ in Tomcat6

2009-02-24 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 we tried this but it throws this Exception during creation of the ActiveMQConnectionFactory: Tried what exactly? Running the camel-activemq-web war works fine for me. I've tried to put only the activemq libraries into my tomcat common classpath

Re: Camel + ActiveMQ in Tomcat6

2009-02-24 Thread Gert Vanthienen
Markus, What does the path to the GC root look like for the classloader object that couldn't be unloaded in Eclipse MAT? Regards, Gert Markus Wolf wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 we tried this but it throws this Exception during creation of the

Re: Camel + ActiveMQ in Tomcat6

2009-02-24 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this approach does not help me, since when the ActiveMQ is created by tomcats webapplication classloader it cannot be undeployed. You don't have to create the broker in the WAR (or you could put it in another WAR). This approach works totally fine

Re: Camel + ActiveMQ in Tomcat6

2009-02-24 Thread Markus Wolf
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Willem, Which version of activemq are you using ? We take out the activemq component from activemq-core in Activemq 5.2. we are currently using ActiveMQ 5.1.0. Maybe we should consider an upgrade if the camel component is better separated in

Re: FileConsumer ERROR,RejectedExecutionException (from file to jms)

2009-02-24 Thread jden
Can anybody help me?:) -- View this message in context: http://www.nabble.com/FileConsumer-ERROR%2CRejectedExecutionException-%28from-file-to-jms%29-tp22119097p22181066.html Sent from the Camel - Users (activemq) mailing list archive at Nabble.com.