Thanks Claus. This is not mentioned in
http://camel.apache.org/try-catch-finally.html. I think it will be great if
this can be added to that page. It will really help beginners like me.
On Tue, Jul 2, 2013 at 11:46 PM, Claus Ibsen wrote:
> The end() marks when doCatch ends. So all the stuff in
Hi Willem,
I made my own ExpressionAdapter which is effectively a copy paste of
ExpressionBuilder.toExpression that accepts an additional boolean for
whether to (shallow) copy the exchange, i.e. Exchange toExchange =
replaceExchange ? exchange : exchange.copy();
I'll raise a JIRA/code sample it
Hi,
I just had a quick look of the code and confirmed it's a bug.
I will commit a quick fix for it shortly.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot
If you are using http client 3, it will clean up the input stream when you
close the connection.
You can find more information by checking the the comments in the
doExtractResponseBodyAsStream.
That is why we need to cache the input stream as it will be used in the other
part of camel route.
Maybe we can add an option in sendTo DSL, to let it restore the original
Exchange if the option is enabled.
Please feel free to fill a JIRA for it, if you like you can share us with the
solution you have.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesou
Hello all,
I've been attempting to use Camel/Spring JMS with Weblogic Server (10.3.6)
JMS destinations and it works just fine without secure destinations, but
using secure destinations results in the exception:
/weblogic.jms.common.JMSSecurityException: Access denied to resource:
type=, applicatio
Hi Willem,
I guessed this much. Oracle Service Bus has a service call feature out which
could do callouts to internal routes without affecting the incoming message
which was quite useful. I might see if I can come up with a reusable
Expression that does something similar.
Cheers,
David
--
View
Hi,
How do I send an Object to a cxf route inside a Dynamic route,
For ex:
public String route(Exchange exchange {
if (requestStatus instanceof RequestPending) {
return "cxf://"; // Need to send an object to this cxf
route.
}
}
Outside of an dynamic route
Sure, this will help to digging into the issue.
Best,
Christian
Sent from a mobile device
Am 02.07.2013 20:19 schrieb "ajaysam" :
> Can i send you my maven projects ?
>
> you can take a look at it high level and see if i m really missing
> something basic
>
>
>
> On Mon, Jul 1, 2013 at 4:00 PM,
Can i send you my maven projects ?
you can take a look at it high level and see if i m really missing
something basic
On Mon, Jul 1, 2013 at 4:00 PM, Sergey Beryozkin-3 [via Camel] <
ml-node+s465427n5735057...@n5.nabble.com> wrote:
> This is bizarre...Can you please double check the custom cod
The end() marks when doCatch ends. So all the stuff in between is
inside the doCatch.
On Tue, Jul 2, 2013 at 12:36 PM, Tarun Kumar wrote:
> Above link doesn't answer my second ques. Could you please help?
>
>
> On Tue, Jul 2, 2013 at 12:41 PM, Christian Müller <
> christian.muel...@gmail.com> w
I've got a back-end web service returning large **chunked** data.
I have defined a Camel route with a proxy to this web service.
I do not want Camel to buffer the entire back-end response, and then return
it as a whole to the client.
Instead, i would like to preserve the original streaming (mainly
Christian - this was a "user error" on my part and I forgot that I
could/should just overwrite and replace the "in" body of the
exchange, in which case, I didn't need to filter out the
no-longer-needed upstream message body.
Thanks,
Chris
On Tue, Jun 11, 2013 at 11:19 AM, Christian Müller
wrot
Claus,
Thanks, but the fact that attempting to add another instance of the
same Endpoint type results in the
name getting and instance number appended means that some
consideration must have been
given to accommodating multiple instances of the same Endpoint in the
registry, right?
In any case, I
Bilgin,
Thanks for that - I was always assuming "file2" meant additionally
added. I ended up using include=,
as suggested in file2.html.
Thanks,
Chris
On Wed, Jun 26, 2013 at 7:40 PM, Bilgin Ibryam wrote:
> Hi Chris,
>
> are you using Camel 1.x?
> As it says in the documentation, for Camel 2.
Can you explain a little bit more this comment in
org.apache.camel.component.file.stress.FileAsyncStressReadLockLockFileTest?
// leverage the fact that we can limit to max 50 files per
poll
// this will result in polling again and potentially picking
up files
Which version of Spring are you using?
How did you use PersistenceContext?
Maybe the class that you want to inject the EntityManager is not managed by
Spring.
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://wi
I opened a bug report: https://issues.apache.org/jira/browse/CAMEL-6504
On 06/28/13 12:10, Christian Müller wrote:
I cannot look into the code yet, but I think this should be fixed. Feel
free to create a JIRA.
Best,
Christian
Sent from a mobile device
Am 28.06.2013 10:54 schrieb "Sven Bauhan"
Hi,
I would like to define the name of a logger in a camel header variable.
Unfortunately this doesn't seem to work. Example:
.from(...)
.log( LoggingLevel.INFO, "mylogger", "MyMessage )
.to(...)
is working as expected, whereas
.from(...)
.setHeader( "logger", constant("mylogger"))
.log(
All
fyi - after some testing
I went ahead with the approach suggested below
http://camel.465427.n5.nabble.com/How-to-make-your-camel-routes-highly-available-when-only-one-may-be-active-at-a-time-td4984581.html#a4988271
http://www.liquid-reality.de/display/liquid/2011/11/11/Hot+Standby+failover+
Hello Claus,
We tried using , but it did not work either..
Any suggestions?
Thank you
Regards
Vaibhav A. Karkhanis
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-routes-and-threads-tp5734326p5735077.html
Sent from the Camel - Users mailing list archive at Nabble.com
Hi All,
I am facing issue with EntityManager being null when I access it from my
Java Code.
Below is my camel-context in which I am defining Entity MAnager.
jdbc:sqlserver://10.10.10.11:14
Above link doesn't answer my second ques. Could you please help?
On Tue, Jul 2, 2013 at 12:41 PM, Christian Müller <
christian.muel...@gmail.com> wrote:
> Check out the link I already sent to you [1].
>
> [1] http://camel.apache.org/try-catch-finally.html
>
> Best,
> Christian
>
Check out the link I already sent to you [1].
[1] http://camel.apache.org/try-catch-finally.html
Best,
Christian
-
Software Integration Specialist
Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://w
24 matches
Mail list logo