). That is, anybody can browse the wsdl
without being authenticated. In fact, the interceptor does not even get
called for such wsdl browsing. So my question is that whether there is a
way to enforce basic authentication for all such accesses through camel-cxf.
Thanks in advance for any insight
lug...@gmail.com> wrote:
> Hi All,
>
> I have a question about configure a cxfbean component (
> http://camel.apache.org/cxf-bean-component.html) to use a WSS4j
> interceptor. For CXF endpoint, there's documented step available but
> somehow I couldn't find any for cxfbean.(http://c
Hi All,
I have a question about configure a cxfbean component (
http://camel.apache.org/cxf-bean-component.html) to use a WSS4j
interceptor. For CXF endpoint, there's documented step available but
somehow I couldn't find any for cxfbean.(http://camel.apache.org/cxf.html)
Any help or insight
Hello,
i would use same interceptor (XML Spring implementation) into my different
projects.
Can i reference an interceptor like "routeContextRef" tag or
"restContextRef" tag?
--
View this message in context:
http://camel.465427.n5.nabble.com/Interceptor-into-external
lani | http://www.linkedin.com/in/raulkripalani
http://blog.raulkr.net | twitter: @raulvk
On Thu, Sep 10, 2015 at 11:57 AM, fabrizio.spataro <
fabrizio.spat...@bizmate.it> wrote:
> Hello,
>
> i would use same interceptor (XML Spring implementation) into my different
> project
Hi,
What kind of interceptor do you have in mind? Spring AOP one or Camel one?
Cheers!
czw., 10.09.2015 o 12:57 użytkownik fabrizio.spataro <
fabrizio.spat...@bizmate.it> napisał:
> Hello,
>
> i would use same interceptor (XML Spring implementation) into my different
> p
I don't think it is possible in Spring XML DSL. However it is definitely
possible with Java DSL. Maybe you can switch to Java? Java DSL is really
flexible :) .
Cheers!
czw., 10.09.2015 o 14:28 użytkownik fabrizio.spataro <
fabrizio.spat...@bizmate.it> napisał:
> Camel interceptor:
Camel interceptor:
http://camel.apache.org/schema/spring;
errorHandlerRef="deadLetterErrorHandler">
... ANOTHER CODE ..
... ANOTHER CODE ..
...
ANOTHER CODE ..
... ANOTHER CODE ..
... ANOTHER CODE ..
... ANOTHER CODE ..
--
View this message in context:
http://camel.465427.n5.nabble.com/Interceptor-into-
Hi,
I have a CXF endpoint with a CXF interceptor that inspects properties from
the Camel exchange in order to do its job. In the good case everything
works fine: The properties/headers get set somewhere in the Camel route, and
when the route finishes, the CxfBinding propagates them
Hi Claus,
Thanks a lot for that link.
Regards,
Shreyas
--
View this message in context:
http://camel.465427.n5.nabble.com/Simple-interceptor-code-not-working-tp5750577p5750630.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
View this message in context:
http://camel.465427.n5.nabble.com/Simple-interceptor-code-not-working-tp5750577p5750615.html
Sent from the Camel - Users mailing list archive at Nabble.com.
in context:
http://camel.465427.n5.nabble.com/Simple-interceptor-code-not-working-tp5750577p5750615.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author
The interceptor must be in the same RouteBuilder.
On Fri, Apr 25, 2014 at 4:12 AM, shreyas shreyas.puro...@hotmail.com wrote:
Hello,
I have modified the camel console example to use interceptor. The interceptor
is not working when I put the code that uses interceptSendToEndpoint
is the
last option.
Thanks for reading such a long post.Much appreciated.Please let me know if
its confusing. It would be nice if you can answer all three or whichever you
know.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-receipient-list-with-interceptor
will be used.
2)Is there a way to intercept message to dynamic endpoint.Endpoint that will
be available only in runtime.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-receipient-list-with-interceptor-tp5729462p5729549.html
Sent from the Camel - Users mailing list
-with-interceptor-tp5729462p5729568.html
Sent from the Camel - Users mailing list archive at Nabble.com.
me know if
its confusing. It would be nice if you can answer all three or whichever you
know.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-receipient-list-with-interceptor-tp5729462.html
Sent from the Camel - Users mailing list archive at Nabble.com.
are defined in the same RouteBuilder class as the
interceptFrom() itself. Is there a way to intercept messages for all
incoming messages for all routes that the camel context holds?
Regards,
Sushil
--
View this message in context:
http://camel.465427.n5.nabble.com/Global-Interceptor-for-all
/Global-Interceptor-for-all-incoming-Messages-tp5714820.html
Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel
developers extending from a custom RouteBuilder
class, is there any other way I can achieve this? Can I use an
IntercepyStrategy or something?
Regards,
Sushil
--
View this message in context:
http://camel.465427.n5.nabble.com/Global-Interceptor-for-all-incoming-Messages-tp5714820p5714827.html
?
Regards,
Sushil
--
View this message in context:
http://camel.465427.n5.nabble.com/Global-Interceptor-for-all-incoming-Messages-tp5714820p5714827.html
Sent from the Camel - Users mailing list archive at Nabble.com.
/ instrument
cross cutting concerns
to existing CamelContext's on the fly.
In the 2.x version you need to do this up-front.
Regards,
Sushil
--
View this message in context:
http://camel.465427.n5.nabble.com/Global-Interceptor-for-all-incoming-Messages-tp5714820p5714827.html
Sent from the Camel
2012/6/21 sushil_vsk5 sushil_v...@yahoo.co.in:
Unfortunately, the interceptFrom() only seems to intercept messages for
those routes which are defined in the same RouteBuilder class as the
interceptFrom() itself. Is there a way to intercept messages for all
incoming messages for all routes that
DefaultCamelContext();
RouteDefinition routeDefinition=new RouteDefinition();
routeDefinition.from(direct:a).to(direct:b).to(direct:c);
camelContext.getRouteDefinitions().add(routeDefinition);
camelContext.setTracing(true);
camelContext.start();
Interceptor to be used
services. I don't want
to configure one Interceptor per service I am calling because the only thing
that is different is the encryptionUser. This is the alias of the public
key you are using to encrypt the message. Here is the WSS4J interceptor:
bean id=wss4jOutInterceptor
class
Another idea here is to set the scope to 'request' on the WSS4J interceptor
and override a method to set the encryption user. Has anyone done that
before similar to this:
http://forum.springsource.org/showthread.php?81311-Configuring-WSS4J-Encrypt-for-multiple-clients-how
Thanks,
Yogesh
Hi Aki,
Thanks for your reply. The problem was that the interceptor that was defined
on the bus was not invoked and even not added to the interceptor chain
but this was a stupid configuration error on my side :-(
With CXF-2.4.4 it was working if cxfcore:bus id=somebus ... was defined
(wrong
and if you could try for
camel 2.9.0. But as I said before, it's normal when you don't find
the other interceptor when you look into the endpoint, but it is a bug
or some kind of incompatibility issue when one of the interceptors is
not invoked or some exception is thrown during the invocation.
thanks
Hi,
I've a question regarding camel-cxf in combination with interceptors
configured on the CXF-bus. It seems that the behaviour has changed from
CXF-version 2.4.4 to 2.4.6 but I'm not sure if it's a camel problem.
I've modified a unit-test that shows the problem. I expected an interceptor
Hi Andi,
I think you always saw at the endpoint only the interceptors that are
configured at the endpoint. But you saw both interceptors when the
interceptor chain is built. Are you not seeing both interceptors when
the interceptor chain is invoked?
If you have this problem, can you tell us which
with a
CXF interceptor, but I want to be able to correlate that log with the
state of the Camel Exchange at that point.
What I really want is a cross between a CXF interceptor and a Camel
TraceEventHandler, but that's not possible (because the
TraceEventHandler never gets to see the on the wire
Hi,
I want to log the on the wire data seen by CXF, which I can do with a
CXF interceptor, but I want to be able to correlate that log with the
state of the Camel Exchange at that point.
What I really want is a cross between a CXF interceptor and a Camel
TraceEventHandler, but that's
Hi all,
I'm trying to test an onException handler of my route by intercepting
a send on the main route and throwing an appropriate exception so that
the onException handling is triggered. However, I ran into some
unexpected behavior. A simplified testcase reproduces this behavior:
Hi
The webpage states that the Exchange has to be *on route*
http://camel.apache.org/intercept
Sending using producer template is not on route.
On Mon, Jun 20, 2011 at 4:33 PM, Sander Mak sander...@gmail.com wrote:
Hi all,
I'm trying to test an onException handler of my route by intercepting
Ok, my intuition was that using the producer template the exchange
would be put 'on route' (the activemq endpoint is the first endpoint
on the route, right?). Apparently my intuition was wrong.
However, that still leaves me with the question of how to achieve my
goal without introducing an
Hello all,
I am implementing a monitor on my routes, using an interceptor. I am using
Camel 2.3.0 inside Servicemix 3.3.2.
The routes are working ok without the interceptor.
In the monitor, I try to log the message, but it seems (not sure about this,
just a guess) that that is causing
In your custom interceptor, then you can either
- skip any streams (eg do not touch them)
- reset the stream cache
By resetting the stream cache you should be able to re-read the stram again.
There is some code on trunk that does that.
On Mon, May 30, 2011 at 1:37 PM, Javier Arias Losada
Hi all,
I am implementing a traceability solution on camel. We need a fine grained
solution providing a lot of detail, so I am implementing my own custom
interceptor.
What I want to do is trace each step in the routes and keep the
'parent-child' relation between different exchanges (eg
, May 2, 2011 at 11:23 AM, Javier Arias Losada
javier.ari...@gmail.com wrote:
Hi all,
I am implementing a traceability solution on camel. We need a fine
grained
solution providing a lot of detail, so I am implementing my own custom
interceptor.
What I want to do is trace each step
implementing a traceability solution on camel. We need a fine
grained
solution providing a lot of detail, so I am implementing my own custom
interceptor.
What I want to do is trace each step in the routes and keep the
'parent-child' relation between different exchanges (eg. different
route id=id2
from uri=uri21
to uri=uri22 /
/route
I have a context wide interceptor defined which intercepts each endpoint and
based on
endpoint uri it performs some action. It works perfectly fine if there is no
exception.
Now whenever an exception comes, the onexception gets invoked
On Sat, Dec 4, 2010 at 2:04 AM, ext2 x...@tongtech.com wrote:
Hi, Claus:
It's a exciting feature. Hoping it will be available sooner;
By the way, it seems the camel 3.0 decide to introduce some new features;
While I am using camel, I often meet some requirement which I think if camel
of the second bean and 1 for route;
-Origin -
Sender: Hadrian Zbarcea [mailto:hzbar...@gmail.com]
Date: 2010/12/2 22:21
Receiver: users@camel.apache.org
Subject: Re: Wast performance? Instrument Interceptor is wrapped twice for
each processor.
The InstrumentationProcessor is a delegate
...@tongtech.com]
Date: 2010-12-3 19:23
Receiver: users@camel.apache.org
Subject: Re: Wast performance? Instrument Interceptor is wrapped twice for
each processor.
Thanks Harian Zbarcea:
Instrument will be useful. But being wrapped and execute twice for
single processor will be a waste
On Fri, Dec 3, 2010 at 2:24 PM, Hadrian Zbarcea hzbar...@gmail.com wrote:
I did look at few examples. In your case, from looking at the log, it looks
like it's wrapped twice, that's why is executed twice. The second number is
always larger than the first. Since the Trace is an interceptor too
The InstrumentationProcessor is a delegate processor (aka interceptor) that
allows you do do before and after processing.
It is not really invoked twice (or I have to see a test case that does that,
the unit tests in camel I am aware of don't). It is invoked once, takes a start
timestamp
interceptor-strategy in Java DSL program;
But while using Spring DSL, it seems there is no such a
configuration we can use to configure the custom interceptor-strategy;
How about to add such a support?
It may looks like as following:
beans
bean id
) Support a route level interceptor (just like the processor's
interceptor, but it will wrapper the whole route).
It seems the solution is more lightweight than the policy-processor.
How about to add such the support in camel?
Thanks any suggestion
--
Claus Ibsen
Apache Camel
interceptor)
There is an InterceptFrom DSL[1] that can meet you requirement.
[1]http://camel.apache.org/intercept.html#Intercept-InterceptFrom
On 10/22/10 12:01 PM, ext2 wrote:
Hi:
Camel support interceptors for processor, but recently I encounter a
requirement, it ask for a custom
On Fri, Oct 22, 2010 at 7:39 AM, ext2 x...@tongtech.com wrote:
Thanks a lot. I see;
Camel could look up all the configured interceptor-strategies in spring
application context. But unfortunately, it seems we couldn't control the
wrap order of interceptor-strategies;
Can you try implement
Hi, Clause:
Thanks a lot;
I am sorry for my poor knowledge about Orader.
I have just reviewed the source code of camel-core, camel-spring,camel-xml.
But I haven't found the source code to control the wrapper-sequence of
interceptor strategy by Ordered;
Do you means my interceptor-strategy can
of
interceptor strategy by Ordered;
Do you means my interceptor-strategy can implement the Ordered interface ,
then the camel could sequence to load these strategies by the order?
For example if I write two interceptor-strategy(A , B), if A's order is 0,
and B's order is 1. the camel will always
On Fri, Oct 22, 2010 at 11:15 AM, ext2 x...@tongtech.com wrote:
Hi, Clause:
It seems the Ordered interface of interceptor strategy doesn't works;
Could camel support such a feature?
What version of Camel are you using?
==
On Fri
On Fri, Oct 22, 2010 at 11:27 AM, Claus Ibsen claus.ib...@gmail.com wrote:
On Fri, Oct 22, 2010 at 11:15 AM, ext2 x...@tongtech.com wrote:
Hi, Clause:
It seems the Ordered interface of interceptor strategy doesn't works;
Could camel support such a feature?
What version of Camel are you
...@tongtech.com wrote:
Hi, Clause:
It seems the Ordered interface of interceptor strategy doesn't works;
Could camel support such a feature?
What version of Camel are you using?
Ah I can see its not support currently, yeah please create a JIRA ticket
Hi:
Camel's Context support a low level
API(CamelContext.addInterceptStrategy), which we could use it to add our
custom interceptor-strategy in Java DSL program;
But while using Spring DSL, it seems there is no such a
configuration we can use to configure the custom interceptor
/repos/asf/camel/trunk/components/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelContextFactoryBean.java
On 10/22/10 12:15 PM, ext2 wrote:
Hi:
Camel's Context support a low level
API(CamelContext.addInterceptStrategy), which we could use it to add our
custom interceptor
) Support a route level interceptor (just like the processor's
interceptor, but it will wrapper the whole route).
It seems the solution is more lightweight than the policy-processor.
How about to add such the support in camel?
Thanks any suggestion
Thanks a lot. I see;
Camel could look up all the configured interceptor-strategies in spring
application context. But unfortunately, it seems we couldn't control the
wrap order of interceptor-strategies;
On 2010/10/22
Hi
I have created an example in 1.x as unit test, which is invoked 3 times.
Apache SVN have issue currently with committing so I paste the test here
davsclaus:(svn)camel-1x[camel-1.x:925986]/$ svn diff
Index:
camel-core/src/test/java/org/apache/camel/issues/CBRCustomPredicateAsFilterTest.java
Claus, Thanks for your help. Of course you deserve the kudos!
I tried the filter method that you described with 1.6.2 and I also upgraded
to 2.2 and tried again with interceptors and also with choice().when()
What I am finding is this. When I use the custom predicate:
public class commentFilter
FYI Here is my routeConfigurator class. You can see from the commented out
sections in the configure method that I have tried a lot of different dsl
configurations.
public class commentRoute extends RouteBuilder {
private Predicate commentFilter;
@Override
public void configure(){
I should mention that I am using spring 2.5.x
On Mon, Apr 12, 2010 at 6:30 PM, Jesse Sanford jessesanf...@gmail.comwrote:
FYI Here is my routeConfigurator class. You can see from the commented out
sections in the configure method that I have tried a lot of different dsl
configurations.
I am trying to intercept an exchange using a custom predicate and I am
having trouble re-routing the exchange or even simply stoping it.
Here is my routebuilder:
public class commentRoute extends RouteBuilder{
@Override
public void configure(){
Hi Jesse
btw thanks for the kudo.
The interceptors in Camel 1.x is not working super duper.
And hence why they have been overhauled in the 2.0 onwards, which
would allow you to do what you want.
I suggest to search in the camel-core src/test/java directory for any
intercept unit tests and see
Hello
Le 10/01/2010 09:43, Claus Ibsen a écrit :
The tracer works on the routes only. So it gets activated when any
Exchange gets routed to a Camel route.
So if you custom code send the Exchange to a direct:foo endpoint
which then has a route then it should get traced
On Mon, Jan 11, 2010 at 9:01 AM, S. Ali Tokmen
savas-ali.tok...@bull.net wrote:
Hello
Le 10/01/2010 09:43, Claus Ibsen a écrit :
The tracer works on the routes only. So it gets activated when any
Exchange gets routed to a Camel route.
So if you custom code send the Exchange to a direct:foo
On Fri, Jan 8, 2010 at 4:31 PM, S. Ali Tokmen savas-ali.tok...@bull.net wrote:
Hello
I'm currently using CAMEL 2.0.0 with a route that dynamically splits and
routes a message to many destinations. I should be using a recipientList()
but since the version 2.0.0 doesn't allow any exception
Hello
I'm currently using CAMEL 2.0.0 with a route that dynamically splits and
routes a message to many destinations. I should be using a
recipientList() but since the version 2.0.0 doesn't allow any exception
handling I'm forced to using a construct like the following:
for
Hi all,
Is somebody already using its own interceptor in a xml spring
configuration file?
In fact, I want to know if in the following definition of intercept, the
stop really stops route execution. Cause for me; all other routes are
executed.
intercept
interceptor id=intercept1 ref
Hi
You should not use the interceptor tag, only the intercept.
For example:
camelContext id=camel xmlns=http://camel.apache.org/schema/spring;
intercept
to uri=mock:middle1/
stop/
/intercept
route
from uri=direct:start/
to uri=mock:end/
/route
Hi all,
I want to use interceptor in my route. But I think I may do something wrong
Here is my code
route
from uri=direct:a /
intercept
interceptor id=intercept1 ref=validateInterceptor/
to uri=mock:test/
stop/
/intercept
@orange-ftgroup.com wrote:
Hi all,
I want to use interceptor in my route. But I think I may do something wrong
Here is my code
route
from uri=direct:a /
intercept
interceptor id=intercept1 ref=validateInterceptor/
to uri=mock:test/
stop
74 matches
Mail list logo