What version of Camel are you using?
The Spring XML ought to work. What doesnt work?
On Mon, Dec 6, 2010 at 6:47 PM, bbuzzard
billy.buzz...@bnsflogistics.com wrote:
I created a route in Java that passed the filename to a Camel Exec function
like this:
public void configure() throws
Hello,
in my integration prototype an existing web-service should be adapted to
an other contract. Therefore, I have a cxf:consumer(dataFormat=PAYLOAD;
the associated cxf:endpoint definition references a WSDL but no service
class) and a cxf:producer (the associated cxf:endpoint references a
Hi
If the data you send over Jetty (HTTP) is already serialized into
google protobuf, then you need to unmarshal that back into an object.
Assuming you want to work with that object.
The Camel data format just makes it easier to do the marshal /
unmarshal without knowing the API for doing that
Obviously you should check out first with IBM what that MQ error code means.
On Tue, Dec 7, 2010 at 6:03 AM, Mark Borner mark.bor...@zurich.com.auwrote:
Hi all:
I've been reading up on how to configure Camel for use under Websphere and
Websphere MQ. I've gotten things working except for a
Hi,
I try to convert the following syntax in Spring DSL but get error and
cannot find how to add transform.
from(jetty://http://localhost:{{port}}/myserver;)
// use onException tocatch all exceptions andreturn a custom reply message
.onException(Exception.class)
Hi
Charles you know better!
The Spring DSL is 1:1 to the Java DSL.
So just use
setHeader
camelContext xmlns=http://camel.apache.org/schema/spring;
route
from uri=seda:a/
setHeader headerName=oldBodyValue
simplebody/simple
/setHeader
to uri=mock:b/
Shame on me to forget setHeader ...
On 07/12/10 11:34, Claus Ibsen wrote:
Hi
Charles you know better!
The Spring DSL is 1:1 to the Java DSL.
So just use
setHeader
camelContext xmlns=http://camel.apache.org/schema/spring;
route
from uri=seda:a/
setHeader
patrice.god...@orange-ftgroup.com wrote:
I'm handling big XML messages (they may be a few MB big).
I'm concerned about potential performance issues.
We handle XML files of up to 125MB in size, and we haven't
had any problems from Camel.
Is there any alternate DOM implementation available?
Yes, I know it's a FAQ, my problem is that:
http://camel.apache.org/how-do-i-import-routes-from-other-xml-files.html
Doesn't work. It appears (from googling) that the imported file needs
a beans element and namespace declarations, which are missing from
that FAQ entry, although it appears to
Hi Daniel,
I think this is not part of the documentation, because it's a native
spring functionality. With
import resource=myCoolRoutes.xml/
you're importing a new Spring context and here of course you need a
surrounding bean element.
Best regards - Claus
On 07.12.2010 12:11, Illtud
Hi,
I have been trying to influence whether or not the next endpoint gets
processed based on some aspect of the mesage body using spring DSL and am
having no luck with it. I have tried various incarnations of the following
configuration (including lt;CHOICEgt;lt;WHENgt; tags in place of
Thanks Charles for your response!
Even though the links you sent me are indeed useful, they didn't provide a
solution to my problem.
On Mon, Dec 6, 2010 at 1:54 PM, Charles Moulliard cmoulli...@gmail.comwrote:
Hi Ioannis,
Here are some links that could help you :
Hi Andy,
try this:
from(direct:map)
.choice()
.when(simple(${body.size} == 0))
.to(mock:null)
.otherwise()
.to(mock:notnull);
Best regards - Claus
On 07.12.2010 13:04, Andy
On Tue, Dec 7, 2010 at 12:29 PM, Claus Straube claus.stra...@catify.com wrote:
Hi Daniel,
I think this is not part of the documentation, because it's a native spring
functionality. With
import resource=myCoolRoutes.xml/
you're importing a new Spring context and here of course you need a
Ask at AMQ forum as its generally how to optimize and setup AMQ.
Also check out maybe some of the webinars by Rob Davies on advanced
and high performance AMQ stuff
The webinars is avail at fusesource website.
And it looks like you only got 1 connection in your pool?
maxConnections=1
On Mon,
Hi Claus,
thanks for your response.
I had the luck to watch that webinar and I also have the slides, the do help
in increasing the overall performance. But when I set transaction=true on
the activemq component, the performance can degrade form 2000 msg/sec to 5
msg/sec.
Regarding the number of
Check some of the TX unit tets in camel-jms and compare notes.
On Tue, Dec 7, 2010 at 2:20 PM, Ioannis Canellos ioca...@gmail.com wrote:
Hi Claus,
thanks for your response.
I had the luck to watch that webinar and I also have the slides, the do help
in increasing the overall performance.
I will do so.
I will also check the tx scenarios described in the Camel in Action.
On Tue, Dec 7, 2010 at 3:36 PM, Claus Ibsen claus.ib...@gmail.com wrote:
Check some of the TX unit tets in camel-jms and compare notes.
On Tue, Dec 7, 2010 at 2:20 PM, Ioannis Canellos ioca...@gmail.com
Claus Ibsen wrote:
On Tue, Dec 7, 2010 at 12:29 PM, Claus Straube claus.stra...@catify.com wrote:
Hi Daniel,
I think this is not part of the documentation, because it's a native spring
functionality. With
import resource=myCoolRoutes.xml/
you're importing a new Spring context and here of
On Tue, Dec 7, 2010 at 3:20 PM, Illtud Daniel illtud.dan...@llgc.org.uk wrote:
Claus Ibsen wrote:
On Tue, Dec 7, 2010 at 12:29 PM, Claus Straube claus.stra...@catify.com
wrote:
Hi Daniel,
I think this is not part of the documentation, because it's a native
spring
functionality. With
Mixing of POJO and PAYLOAD is probably fine but you have to do some
conversion (e.g. in a processor). You know the message body for POJO
mode is ListObject and for PAYLOAD mode is CxfPayload. So, it needs
conversion from a ListObject to CxfPayload for the request and convert
back from
Hi,
As a relative newbie to Apache Camel I was experimenting with shutting down
and restarting a route when certain conditions are met in my program (using
camel-core 2.2.0). While doing this I encountered an
IllegalThreadStateException in the BatchProcessor class of a resequencer
that my route
Hi
Thanks for reporting. Can you try with Camel 2.5 as well?
On Tue, Dec 7, 2010 at 5:50 PM, sembler scott.emb...@noaa.gov wrote:
Hi,
As a relative newbie to Apache Camel I was experimenting with shutting down
and restarting a route when certain conditions are met in my program (using
Upgrading to 2.5 did away with the Exception. I also added two tests for
using start/stop and suspend/resume with the ServiceHelper to verify that I
wasn't calling methods in unintended ways. All of these tests pass in the
2.5 version, and not in 2.2. Looks like the version change fixes
Hi,
I'm using Camel 2.5. And, this is an outline of what I'm trying to do,
camel:interceptSendToEndpoint uri={{custom.url}}
inheritErrorHandler=true
camel:doTry
camel:to uri=bean:xyz?method=throwException /
camel:doCatch
I have.
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqzao.doc/fm12190_.htm
It was no help. I'm not running on z/OS, therefore the suggested action
is:
1) Link the application with the correct libraries (threaded or
nonthreaded).
I'm running
Hi
There is an attribute on the interceptSendToEndpoint
skipSendToOriginalEndpoint which you should set to true if you dont
want to send the message that was intercepted.
BTW: You IDE may assist you and show code completion etc. when editing
the XML files as its a good idea to see which
Hi,
You are send the protocolbuf dataformat , not marshalling or
unmarshalling the objects.
Please check out this unit test[1] of camel protocol buffer as an example.
[1]
Thanks, Claus.
But, I want the original route skipped only when there's an exception.
Otherwise, it should send the message as normal. Should I still set
skipSendToOriginalEndpoint?
Thanks.
-
- Karthz
--
View this message in context:
Hi Charles,
I just dug the code of SecurityHandler for a while, and found you didn't
set the identiyService property on the loginService.
SecurityHandler will not create a DefaultIdentiyService for you if the
ScurityHandler's realmName is null.
Maybe you can set the property of loginService
Hi:
Changing the configuration dynamically at runtime to adjust the
behavior of application is a use-full feature for many application.
Camel support some dynamic mechanism now, etc: dynamic-routing
pattern; but I still encounter some limits while using camel. For example:
1)how
You message still not going to the mailing list.
What version of Camel are you using?
And make sure that you send back a reply on QueueC. And use DEBUG logging to
see whats happening.
--
View this message in context:
Hi
I had a look and there was an issue in Camel when using sto() which
the interceptSendToEndpoint didn't check.
I will get this fixed in the source code.
On Wed, Dec 8, 2010 at 7:10 AM, Karthz skart...@gmail.com wrote:
Thanks, Claus.
But, I want the original route skipped only when there's
33 matches
Mail list logo