i need to remove the route because its a transient and won't
be used again after the workflow has completed. If the route
is simply stopped, does it get garbage collected away? won't
such stale routes accumulate and take upmemory?
also, is it expensive to perhaps create a distinct camelcontext
Dear All,
I tried to use mina endpoints. I see that mina endpoints which is used
in will act as servers and the ones which is used in will
act as clients.
Actually, I need mina endpoints which more or less defined as the
following code:
Is it possible?
Thanks!
--
~The best men are men w
I don't think current mina producer can do the work that you want.
But if you take a look at the Camel 2.x Async[1], and
JettyHttpProduer[2], you can find a way to implement the async request
and response with Camel.
[1] http://camel.apache.org/async.html
[2]
https://svn.apache.org/repos/asf/
Hi
Why do you need to remove it? Can you just stop it instead?
The Camel in Action book, chapter 13, contains details how to stop and
start routes at runtime.
There are methods on CamelContext to do that. Which you can easily
invoke from a onCompletion in the route.
On Thu, Apr 1, 2010 at 12:08
I studied PollingConsumerPollStrategy error handling strategies
and i still amnot abloe to find a way to handle errors. i think its
a bit strange that is done one way inside the "boundary" (i.e., after
the first endpoint is instantiated) and a different way thereaftr
(i.e., if an "interior" endpoi
My current routing.property file.
driverClassName = com.mysql.jdbc.jdbc2.optional.MysqlXADataSource
url = jdbc:mysql://127.0.0.1/TEST102
username = root
password = 1234
brokerURL = tcp://127.0.0.1:61616
maxConnections = 1
concurrentConsumers = 1
--
View this message in context:
http://old.nab
Thanks for response,I beleive it's same behavior in camel mina 2.0 and 2.2.
we are thinking of using 2.0M2 as we have release in a month. But my main
question is how do I keep this producer object/component alive till a route
is shutdown so that I don't loose any messages. any thoughts on solution
This is my camel-context.xml
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:camel="http://camel.apache.org/schema/spring";
xmlns:flex="http://www.springframework.org/schema/flex";
xmlns:context="http://ww
If you just want to specify the operation with params from scratch, you
can try the camel-cxf[1] with the POJO DataFormat, you can find the
example here[2]
If you already have a SOAP envelope request, I think you need to try do
the transformation yourself.
[1]http://cwiki.apache.org/CAMEL/cx
The route is defined in the tutorial but here is the code that I don't
change :
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:context="http://www.springframework.org/schema/context";
xmlns:osgi="http://www.springframework.o
Hi Charles,
You are using the cxf osgi transport, can you check the karaf log to see
if the camel-cxf endpoint start up rightly?
BTW, can you show me the camel route and the camel-cxf endpoint
configuration?
Willem
Charles Moulliard wrote:
Hi,
I try to test the camel tutorial using camel
I have discovered a problem with activemq and pooling engine so it is not
possible to parse files and place the result in queues
Exception in thread "SpringOsgiExtenderThread-12"
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.springframework.os
gi.servi
Hi
Can you show us the camel route that you have ?
It will be useful for use the dig the issue.
Willem
MasterLotis wrote:
I Have using camel 2.2.0 with spring 2.5.6 Tomcat 6 and Atomikos
Transaction manager working together.
I found error on stopping tomcat like this.
STACKTRACE:
j
Just one comments for the , it's used for setup the
properties which can be use for CamelContext, but current camelContext
doesn't pick up the ProducerServicePool from the .
Willem
Claus Ibsen wrote:
Hi
Its just a setter on CamelContext but it may be harder to do with
Spring XML lingo when u
Hi,
I try to test the camel tutorial using camel 2.2.0 & cxf 2.2.6 on karaf 1.4
and get this error :
Error 500 INTERNAL_SERVER_ERROR
HTTP ERROR 500
Problem accessing /cxf/camel-example/incident. Reason:
INTERNAL_SERVER_ERROR
Caus
I Have using camel 2.2.0 with spring 2.5.6 Tomcat 6 and Atomikos
Transaction manager working together.
I found error on stopping tomcat like this.
STACKTRACE:
java.net.SocketException: socket closed
at java.net.SocketInputStream.socketRead0(Native Method)
at ja
Hi Richard,
Please update the pom as mentioned in my previous email, recompile projects
and update the bundles !
Kind regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cm
Ok,
thanks for suggestion but i have problems again..
java.lang.Exception: Could not start bundle
mvn:org.apache.camel.example/reportincident.queueservice/1.0-SNAPSHOT in
feature(s) reportincident-1.0-SNAPSHOT: Unresolved constraint in bundle
reportincident.queueservice [54]: package;
(&(pack
Hi Richard,
Her is an additional modification that I have made in the pom of
reportincident.camelqueueservice
org.apache.activemq.camel.component;version="[5.3.0,5.4.0)",
org.apache.camel;version="[2.0,2.3)",
org.a
It works
Thanks a lot !
2010/3/31 Charles Moulliard :
> Richard,
>
> To install camel 2.2.0 features = list of bundles, you must use the features
> file 2.2.0 of camel
>
> -->
>
> featuresRepositories=mvn:org.apache.felix.karaf/apache-felix-karaf/1.4.0/xml/features,mvn:org.apache.camel.karaf/
Richard,
To install camel 2.2.0 features = list of bundles, you must use the features
file 2.2.0 of camel
-->
featuresRepositories=mvn:org.apache.felix.karaf/apache-felix-karaf/1.4.0/xml/features,mvn:org.apache.camel.karaf/apache-camel/2.2.0/xml/features,jar:mvn:org.apache.camel.example/reportin
I will make a test with camel 2.2.0 / activemq 5.3.1 and come back to you
soon.
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/c
Hello first of all thanks for patience;
|| Why are you using camel 2.1.0-SNAPSHOT with ActiveMQ 5.3.0?
cause its in pom on the site
here the step that i do
1: I have downloaded the zip from the site and delete all my M2 repository
2: Modify pom reportincident.routing and insert
2.2.0 and
5.3.1
FYI, I create a JIRA[1] for this issue and committed a quick fix for it.
Please feel free to check out the latest Camel 2.3.0-SNAPSHOT to verify it.
Willem
zigo wrote:
Willem,
my route is this:
http://camel.apache.org/schema/spring";>
http://foo.com}gt
I put a comment into CAMEL-2558.
Christian
Claus Ibsen-2 wrote:
>
> Hi
>
> Its just a setter on CamelContext but it may be harder to do with
> Spring XML lingo when using
> There is a related JIRA ticket to have easier configuration of the
> pool size of and .
> So please add a comment on
Hi
This should be fixed in Camel 2.3.
On Wed, Mar 31, 2010 at 9:46 AM, _Jens wrote:
>
> Hi,
>
> I have run into an issue with a .recipientList() using Mina endpoints (Camel
> 2.1). Basically, I was changing a route from using static .to() calls into a
> more dynamic .recipientList() call. With
Hi
Its just a setter on CamelContext but it may be harder to do with
Spring XML lingo when using
There is a related JIRA ticket to have easier configuration of the
pool size of and .
So please add a comment on that ticket about your use case.
On Tue, Mar 30, 2010 at 7:04 PM, christian ohr wr
Hi
Please read this page for how to better report problems (how to get help)?
http://camel.apache.org/support.html
On Tue, Mar 30, 2010 at 3:23 PM, ankelee wrote:
>
> String str =
> exchange.getUnitOfWork().getOriginalInMessage().getBody(String.class);
>
> I have a simple route from().to() rou
Hi Richard,
Why are you using camel 2.1.0-SNAPSHOT with ActiveMQ 5.3.0?
There is an OSGi meta info issue[1] on the ActiveMQ 5.3.0, when you are
not using camel 2.0.0.
So please try out the Camel 2.2.0 with ActiveMQ 5.3.1, I'm sure you can
run the example smoothly :)
[1]https://issues.apach
Hello,
If you have difficult to tell me what go wrong could you please send me a
zip that works.
At this moment my target is see that example work ecc.ecc
What i do is download the zip from the site and try to deploy it.
Cheers thanks a lot for help
Richard
I make a mistake camel-jms in my enviroment there was
apologies
I follow step by step the guide
when i try to stat camel jms i get
ka...@root> Exception in thread "SpringOsgiExtenderThread-13"
org.springframewor
k.beans.factory.CannotLoadBeanClassException: Error loading class [
org.apache.ac
Hi Richard,
The bundle mentioned by Willem is part of the tutorial and should be
installed as feature as you can here in the featuresBoot list :
featuresBoot=spring,spring-dm,camel,camel-bindy,camel-jms,activemq,activemq-camel,http-reportingincident,spring-web,camel-cxf,hibernate,jdbc-driver,wick
Hello Camel,
I have done some testing before I could invoke a webservice using Camel.
I still see two issues using my current solution:
1- At the moment I have to wrap my Exchange body with a SOAP envelope.
To process the result I also have to remove it from the SOAP response.
2- I also would l
No in my list of bundle i cam't see it.
what i do is following the web manual
cheers
richard
Yes, we need to update the wiki page for it.
Willem
zigo wrote:
Willem,
my route is this:
http://camel.apache.org/schema/spring";>
http://foo.com}gt_connector&dataFormat=MESSAGE"/>
It means that the bundle cannot load from its classpath the schema of
activemq which is packaged in activemq jar
Can you refresh the bundle using the command osgi:refresh xxx
xxx = number of the bundle and see what happens ?
Kind regards,
Charles Moulliard
Senior Enterprise Architect
Apache Cam
Willem,
my route is this:
http://camel.apache.org/schema/spring";>
http://foo.com}gt_connector&dataFormat=MESSAGE"/>
Hi,
thanks for help but i have change the dipendency in routing, recompile all
and restart Karaf but the result dosen't change.
>From stack trace i read that it dosent' find Failed to read schema document
'http://activemq.apache.org/schema/core/activemq-core.xsd
a suppose that this is a problem b
Hi,
I have run into an issue with a .recipientList() using Mina endpoints (Camel
2.1). Basically, I was changing a route from using static .to() calls into a
more dynamic .recipientList() call. With the .to() calls IoSessions were
reused to send data. However, with the .recipientList() it seems t
Hi
I dont know what version of Camel you are using, but we have recently
fixed the scheduled polling consumer to catch java.lang.Error and have
that logged as well
https://issues.apache.org/activemq/browse/CAMEL-2339
That should help catch those NoClassDefFoundError and other errors being thrown.
40 matches
Mail list logo