Hello,
I am using org.apache.camel.spring.javaconfig.CamelConfiguration to
bootstrap my application. Generally it works fine, but if I am using
restConfiguration() then it gives me some issues:
I've tried with Camel 2.17 and 2.19 with Jetty9 endpoint.
If I have two route builders, I can use
Ok,
quick fix for that was to use HashLoginService instead of custom class
implementing LoginService. As HashLoginService extends AbstractLifeCycle it
is not being sanitized on stop of security handler (when second service is
added).
adie
--
View this message in context:
http://camel.465427
For Camel 2.19 and Jetty 9.3.14.v20161028 stack trace is bit different but
error is the same (I will try to prepare an example later):
--
View this message in context:
http://camel.465427.n5.nabble.com/LoginService-is-cleared-when-second-rest-dsl-service-is-added-tp5799654p5800810.html
Sent
Hi Claus,
Many thanks for the response. For 2.17.6 the behavior is the same. For
2.18 I need to fix some dependency errors, so I will try a bit later. Just
if you are interested, below is a full stack trace:
(Camel 2.17.0)
--
View this message in context:
Hello,
I have a strange behavior with Camel 2.17 and camel-jetty9 (2.17.0
referencing jetty 9.2.15.v20160210). I am currently having following
service:
We have a basic auth and everything works as designed.
Problem starts when we add second service, because we are getting " No
LoginService
Many thanks Tomo!
I did not notice that you need to use a specific class-a and source field. I
was trying to use both classic mapping and expression mapping at the same
time. It seems to use expression mapping you need following:
- "class-a" element must be exactly
Hi!
I was trying to use camel-dozer component to translate a POJO generated by
CXF.
1. First I started with simple mapping of two fields 1:1 and URI with
targetModel and mappingFile. Which actually failed, because POJO was wrapped
in some object.
2. Then I've added sourceModel and it worked