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
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
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
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);
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:
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
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
-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
-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
-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
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
-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
-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
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.
14 matches
Mail list logo