On Wed, Jun 27, 2012 at 8:17 PM, dgallagher wrote:
> Thanks Guys
>
> If I use the global exception handling (e.g. onException) with Java DSL, do
> i need to define a separate route that contains the onException code so that
> every route in the context will pick it up?
>
Yes with the Java DSL and
Created jira issue:
https://issues.apache.org/jira/browse/CAMEL-5406
--
View this message in context:
http://camel.465427.n5.nabble.com/Threads-EIP-hangs-Unit-Tests-JUnit4-tp5715031p5715181.html
Sent from the Camel - Users mailing list archive at Nabble.com.
This issue reproduces also on trunk.
I am opening a jira issue.
--
View this message in context:
http://camel.465427.n5.nabble.com/Threads-EIP-hangs-Unit-Tests-JUnit4-tp5715031p5715180.html
Sent from the Camel - Users mailing list archive at Nabble.com.
http://fusesource.com/redhat/?elq=56aa75f4214c4cd1bf363dfb6fb2c940&elqCampaignId=348
Claus Ibsen-2 wrote
>
> I read this as you want to do some kind of AOP around the sending a
> message
> to a given endpoint?
> We could possible make that a bit easier from testing point of view.
>
> What you can do with the advice with, and code you posted above is to
> - enable the skip sendin
I will and let you know.
--
View this message in context:
http://camel.465427.n5.nabble.com/Threads-EIP-hangs-Unit-Tests-JUnit4-tp5715031p5715176.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hello
In Camel route I want set header from following XML body
http://schemas.xmlsoap.org/soap/envelope/";>
http://e-arvetekeskus.eu/erp";>
NO
I want catch string "NO" from message body
In manual ..No namespace given
"from message.in.header if there is a header with the given key"
so I
Hi. I've the following route configuration
it's purpose is (obviously) to save all the incoming messages into
target/reports/server/jetty/contractlast/input and outgoing into
target/reports/server/jetty/contractlast/output
It's working correctly for all the soap requests but when I'm trying to
I am trying to use sftp (camel 2.9.2) and notice that every download is
spread out to one every 10 seconds (files are around 10kb). Based off the
examples in http://camel.apache.org/ftp2.html it looks like there are delay
options (they are not listened under options, but used in example) but when
Thanks Claus - that was just what I was looking for.
On Tue, Jun 26, 2012 at 1:15 PM, Claus Ibsen wrote:
> Hi
>
> Kai Wahner did a presentation recently at CamelOne where he covered
> Camel and Activiti.
>
> The video is here
>
> http://fusesource.com/apache-camel-conference-2012/camelone_speake
Hi Claus,
I have changed it as suggested by you:
/orders/order/@id
It says invalid correlation key for all the input files. I can set
ignoreInvalidCorrelationKeys to true but it just skips all the files.
No, you can also do the following:
onException(OrderFailedException.class)
.handled(true)
.bean(ErrorHandlerBean.class, "orderFailed")
...
.to("mock:error");
Best,
Christian
On Wed, Jun 27, 2012 at 8:17 PM, dgallagher wrote:
> Thanks Guys
>
> If I use the global exception handling (e.g.
I created and deployed a camel cxfrs webservice on Glassfish 3.1.
Here is a snippet from camel-config.xml
The application deploys fine in GF 3.1. But when I look at the list of
deployed services, I see following:
Available RESTful services:
Endpoint address: http:
Please disregard the comment about conversion issue, a simple refresh on
camel-jaxb in servicemix solved the problem.
BUT, the result of marshal is still a byte[] array while I believe it
should be java.lang.String.
att.
*Henrique Viecili*
On Wed, Jun 27, 2012 at 1:37 PM, Henrique Viecili wrote
Thanks Guys
If I use the global exception handling (e.g. onException) with Java DSL, do
i need to define a separate route that contains the onException code so that
every route in the context will pick it up?
Thanks
Damien
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel
Hi
On 15/06/12 09:33, desysemia wrote:
Both,
Thanks for your input.
With regards to checking that my camel-cxfrs consumer is correct. All
other components of the URL are matched and passed through correctly, e.g.
PathSegments and QueryParameters. What could be configured incorrectly an
still
Dear Camel Breeders,
would you know any reason why after marshaling an object with jaxb data
format the result BodyType is a byte[] array instead of java.lang.String?
With byte[] I see conversion problems as the log below shows:
12:45:42,474 | WARN | onsumer-thread-5 | JbiBinding
| ?
Hi,
I'm using the following configuration:
http://camel.apache.org/schema/spring";>
What is your objective of throttling?
If you place a JMS queue between Parts A and B, the routes will run using at
least 2 different threads. If Part A is faster then the queue will fill up
and act as a buffer that decouples the varying speed of execution.
I often had this scenario (fast producer
Hello,
We have a application where we dynamically changes route
configuration by "redeploying" them.
This is done using the following steps.
1. Stop the route
2. Remove the route (and it's endpoints) from the context.
3. (Re)add the route to the context using the same name.
For routes that uses
On Wed, Jun 27, 2012 at 12:06 PM, panzerhans wrote:
> Is it possible to discover if aJMS message processing threw an exception when
> you aggregate after a split (that splits to JMS)?
>
> I have tried using an aggregator that runs on completionSize (that I set
> prior to splitting). All messages s
On Wed, Jun 27, 2012 at 3:02 PM, stefzar wrote:
> The consumer.bridgeErrorHandler option would be great, but I don't exactly
> get how to use it. My route looks like this now and the Exception still is
> not caught by the .onException clause. Should this code work if the folder
> "Notification1" d
The consumer.bridgeErrorHandler option would be great, but I don't exactly
get how to use it. My route looks like this now and the Exception still is
not caught by the .onException clause. Should this code work if the folder
"Notification1" does NOT exist?
context.addRoutes(new RouteBuilder() {
Hi
See the pollStrategy option at
http://camel.apache.org/polling-consumer.html
And from Camel 2.10 onwards you can bridge this consumer error with
the Camel error handler in the route using the new
consumer.bridgeErrorHandler option
http://camel.apache.org/file2
On Wed, Jun 27, 2012 at 2:14 PM
I have tried it with exception handling now.
My route looks like this:
context.addRoutes(new RouteBuilder() {
public void configure() {
onException(org.apache.camel.component.file.GenericFileOperationFailedException.class).log("Exception
caught");
from("
Hi Magnus!
Thanks for this information, though it is not satisfying me. I supposed a
command via exec: that would be executed both on windows and linux. However
I got it that echo, perl, dir, etc. need an environment again to be executed
and that is e.g. cmd.exe on windows or /bin/bash on linux. M
Hello,
On Windows I do this (simplified but works):
from("direct:exec").to("exec:cmd?args=/C echo echoString" ).to("mock:exec");
That is the exec is my command interpreter, and echo is an argument to the
interpreter.
(On Windows I need the /C otherwise I just get the data from starting the
cmd.ex
On Wed, Jun 27, 2012 at 12:06 PM, get1974 wrote:
> Thanks for your quick response. If I understand you correctly it was already
> fixed in newer version? If so I think we simple need to upgrade, which is a
> good idea anyway. Can you confirm whether this was fixed in the current
> production relea
Thanks for your quick response. If I understand you correctly it was already
fixed in newer version? If so I think we simple need to upgrade, which is a
good idea anyway. Can you confirm whether this was fixed in the current
production release?
--
View this message in context:
http://camel.465427
Is it possible to discover if aJMS message processing threw an exception when
you aggregate after a split (that splits to JMS)?
I have tried using an aggregator that runs on completionSize (that I set
prior to splitting). All messages sent to the JMSqueue show up, but no
indication of exceptions t
On 27 June 2012 10:46, Christian Müller wrote:
> Shouldn't your use:
>
>
> /Feeds/Feed
>
>
A bit verbose, but if you cannot easily work around the namespace
mapping you can also try
/*[local-name()='Feeds']/*[local-name()='Feed']
Or in the likely case that 'Feed' is the only child of 'Feeds
On Wed, Jun 27, 2012 at 11:57 AM, get1974 wrote:
> Hello Claus,
>
> I also have the case that we seem to loose the headers when forwarding to a
> retry queue using the errorhandler and useOriginalMessage. Zince we do not
> use the latest version I was wondering whether this was already fixed in de
Hello Claus,
I also have the case that we seem to loose the headers when forwarding to a
retry queue using the errorhandler and useOriginalMessage. Zince we do not
use the latest version I was wondering whether this was already fixed in de
current version (we are on 2.4) or will this be fixed in 3
Shouldn't your use:
/Feeds/Feed
if your input is:
Test1
Test2
as you explained?
And as documented in [1], xpath will load the entire document into memory:
-> not suitable for verry big payloads
-> streaming="true" doesn't work
And what Claus blogged in his blog (using tokenizeXML
Hello everybody!
In a highly integration based project we would like to use the camel exec://
component. My first tests however let me ask why some executables that must
be in the system path by default are not found with exec://. Please see the
following example:
public class TestCamelExecSpike
Hi Edwin,
> I have 200 of these routes:
> Would folks have concerns with this number of SEDA queues?
Just wanted to say that having 1000 similar SEDA queues in your router
(i.e. on the same VM) is a "routing smell" [1] for me. :) From my
experience - this looks bit too complex. When I end up with
Hi
If you use xpath as the expression for splitting XML. Then spent time
to google and learn a bit more how to do that.
The biggest problem is often that with xpath you must make sure the
namespace mapping is correct.
And yes it can be a bit of problem to get it working. I suggest if
there is som
37 matches
Mail list logo