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 wrote:
>
> Thanks, Claus.
>
> But, I want the original route skipped only when there's an exception.
>
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:
http://camel.465427.n5.nabble.com/JMS-request-reply-in-middle-of-route-tp3286
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 cou
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 w
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:
http://camel.465427.n5.nabble.com/InterceptSendToEndpoi
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]
https://svn.apache.org/repos/asf/camel/trunk/components/camel-protobuf/src/test/java/org/apache/camel/dataformat/protobuf
Hi
There is an attribute on the
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 attributes and whatnot
the XSD s
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 under
Hi,
I'm using Camel 2.5. And, this is an outline of what I'm trying to do,
java.lang.IllegalArgumentException
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
everyth
Hi
Thanks for reporting. Can you try with Camel 2.5 as well?
On Tue, Dec 7, 2010 at 5:50 PM, sembler 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
> camel-core 2.2.0).
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
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 List and for PAYLOAD mode is CxfPayload. So, it needs
conversion from a List to CxfPayload for the request and convert
back from CxfPayload to List
On Tue, Dec 7, 2010 at 3:20 PM, Illtud Daniel wrote:
> Claus Ibsen wrote:
>>
>> On Tue, Dec 7, 2010 at 12:29 PM, Claus Straube
>> wrote:
>>>
>>> Hi Daniel,
>>>
>>> I think this is not part of the documentation, because it's a native
>>> spring
>>> functionality. With
>>>
>>>
>>>
>>> you're impor
Claus Ibsen wrote:
On Tue, Dec 7, 2010 at 12:29 PM, Claus Straube wrote:
Hi Daniel,
I think this is not part of the documentation, because it's a native spring
functionality. With
you're importing a new Spring context and here of course you need a
surrounding bean element.
But those of us
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 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
> wrote:
> > Hi Claus,
> >
> > thanks
Check some of the TX unit tets in camel-jms and compare notes.
On Tue, Dec 7, 2010 at 2:20 PM, Ioannis Canellos 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. But when I se
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 c
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, No
On Tue, Dec 7, 2010 at 12:29 PM, Claus Straube wrote:
> Hi Daniel,
>
> I think this is not part of the documentation, because it's a native spring
> functionality. With
>
>
>
> you're importing a new Spring context and here of course you need a
> surrounding bean element.
>
Yeah its a spring fea
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
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 wrote:
>
> Hi Ioannis,
>
> Here are some links that could help you :
>
>
> http://fusesource.com/wiki/display/Pro
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 tags in place of
)
Hi Daniel,
I think this is not part of the documentation, because it's a native
spring functionality. With
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 Daniel wrote:
Yes, I know it's a FAQ
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 element and namespace declarations, which are missing from
that FAQ entry, although it appears to show the
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? I'
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
http://camel.apache.org/schema/spring";>
body
And check the unit test source
Hi
Charles you know better!
The Spring DSL is 1:1 to the Java DSL.
So just use
http://camel.apache.org/schema/spring";>
body
And check the unit test source code in camel-spring if you are in a
bit of doubt and want to look for an example.
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)
.handled(tr
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 wrote:
>
> 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 nagging error:
> co
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 wi
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
se
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
wrote:
>
> I created a route in Java that passed the filename to a Camel Exec function
> like this:
>
> public void configure() throws Exception {
> from("file:c:/aaa
33 matches
Mail list logo