Thanks for your help.
Sent from my iPhone
> On Oct 26, 2016, at 4:04 PM, Santhosh [via Camel]
> wrote:
>
> Ok That solves the problem.
>
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/OnExcep
Ok That solves the problem.
--
View this message in context:
http://camel.465427.n5.nabble.com/OnException-across-camelcontext-not-called-when-using-direct-vm-tp5789237p5789309.html
Sent from the Camel - Users mailing list archive at Nabble.com.
There is no exception handling in route2, it just throws the exception. I see
exception in the log, thrown by route2. But context1 never get those
exception.
If I use nmr route, then everything works fine.
Thanks
Santhosh
--
View this message in context:
http://camel.465427.n5.nabble.com
I have multiple context, and I use direct-vm to call route in another
context. If there any exception, direct-vm is not passing that exception
correctly to the parent/source route. If I use nmr, then source route gets
the exception and onException is getting called correctly.
Here in this example
we are using Spring DSL.
Our camel route will look something like
I'm unable to pass the exchange to the spring batch component for further
processing.
Any pointers to solve this issue will be helpful.
Thanks & regards,
Santhosh
DISCLAIMER: "The informatio
Hi,
I am using Apache Camel in Dropwizard framework to build the flow. I am
trying to use the hibernate component of Apache-camel.
When I am trying to insert a data, I am getting following exception.
org.hibernate.HibernateException: No session currently bound to execution
context
at
org.hib
>From this thread,
http://www.mentby.com/Group/apache-camel/recipientlist-aggregationstrategy-and-completiontimeout.html
,i understand dynamic timeout is not possible in receipient List.Something
like in aggregate where timeout can be configured via Expression.Is it still
case with Camel 2.10.2.It
Sorry.The dataFormat has to be PAYLOAD or MESSAGE.you can look at what that
is on http://camel.apache.org/cxf.html .if you want POJO you should include
stub interface as serviceClass.btw the port name is wrong. It should be
tns:HelloFirstImplServiceSoapBinding where tns should declared in namespac
I recommend you try this
Some ideas:
I am assuming you have cxf webservice as seperate project or hitting service
deployed elsewhere from camel.If no, i recommend to untangle cxf webservice
and camel.
First get the cxf webservice project deployed.Check if the wsdl is
available.
then change you
try cxf intercptors -input and output interceptors if its cxf service.It
gives wire incoming msg and wire outgoing msg
--
View this message in context:
http://camel.465427.n5.nabble.com/Enable-wire-logs-on-Camel-HTTP-Proxy-tp5723675p5729577.html
Sent from the Camel - Users mailing list archive
I will answer this question myself .You can find the endpoint which the
exchange is used by using
exchange.getProperty("CamelToEndpoint") .
To answer the overall question - how to manipulate the message in
recipient/multicast according to endpoint keeping in mind the endpoint list
will be creat
i went through my post and got the code :)
public void configureHttpClient(org.apache.http.client.HttpClient
httpClient) {
try {
final BasicHttpParams httpParams = new
BasicHttpParams();
//if y
I have read through it and i couldnt figure anything out for reasons i
mentioned in previous post.Rephrasing my questions short
1)Is there a property in exchange which says the which endpoint the message
is intended for??Can i use it in multicast for identifying the endpoint for
which exchange wi
Whatever server you are using, turn on SSL logs.
http://docs.oracle.com/javase/1.5.0/docs/guide/security/jsse/ReadDebug.html
. it usually lands up on console and not file atleast in karaf/smx. i mean
the SSL logs not your custom logging.It will tell you all steps in cert
exchange.The link explain
I think the previous post is the way to do.We/I dont automatically import
certs.That said i dont your requirements.I have a post explaining the way
httpClient should be used in camel in camel user forums.Search for all my
post you will have the full working code.That should use your trust store
ins
My architecture needs to multicast to multiple endpoints which will be
constructed dynamically and before the message is sent to end point it needs
to be customized.Now its like
Your progam/code wont and its not coded that way.You have to update the
keystore and truststore manually.Updating manually in sense i am assuming
you mean
keytool -import -keystore keystore.jks -file key.txt -alias xyz .
--
View this message in context:
http://camel.465427.n5.nabble.com/came
If you are trying to do CXF proxy .ie. receive all request to a CXF
webservice by setting up a proxy endpoint this will work
http://localhost:9000/order"; wsdlURL="" endpointName=""
serviceName="">
All namespace resolution is left out.J
If you dont get it sorted out with a CXF client,the simplest way would be
send the soap body to the route.It would suffice to make a post request with
authorization header to get Basic auth working.It can be
HttpConnection,HttpClient,Camel using HttpClient.
populate the multicast with endpoints.SO it may 1 ,2 or 10 endpoints under
multicast.
my only option now is
Do you think i doing something wrong with multicast.Should i proceed with
above route or is there a better way.
Thanks,
Santhosh
--
View this message in context
i run camel in karaf.I use Http4 component for https connection with custom
connectionConfigurer
Class connectionConfigurer{
.
SchemeRegistry registry = new SchemeRegistry();
registry.register(new Scheme("https", 443, new SSLSocketFactory(keystore,
"mypassword", truststore)));
}
So what happ
Hey i want to congratulate you guys on such wonderful documentation available
for camel http for customising the http client configurer.i have also found
other docs sufficiently enough.That defenitely makes dev easy.
I had few minor hickkups during configuring camel http4 config.i followed
the d
I was in interview asked a real time use case for camel.
There are three webservice endpoints A ,B ,C .How would achieve failover
between these points.I answered
I told i will use the load balancer.Dont mind the syntax
But the interviewer said he wanted failover strictly like a master and
Ok for your requirement here is what you need to do.Create a jax-ws endpoint
and drop into META-INF/spring.
Create a file named whatever sensible in xml format.For demo lets assume
the name is beans.xml.The contents of beans.xml would be
http://www.springframework.org/schema/beans
http://www.spr
My mistake.I figured what the problem was.I was sending the message to wrong
operation.I didnt notice the soap:action.So wrong data resulted in 500 error
from the server.But thanks guys ,aki and williem for taking time to read
such a long post.Much appreciated.I am starting to love the camel forum.
My requirement is to have a proxy web service which will receive the request
from clients and then route through camel,enrich it and forward it to real
webservice at other clients place ,get response and send it back to the
original requestor.
i basically looked at camel-cxf-proxy example
(http:/
0 down vote favorite
My requirement is to have a web service which will receive the request from
clients and then route through camel,enrich it and forward it to another
webservice at other clients place ,get response and send it back to the
original requestor.
from(webserviceURI)
.in
27 matches
Mail list logo