Http 3 Component and Credential delegation

2015-01-28 Thread richardgroote
Good day, When using the HTTP(3) component of Apache Camel it is possible to define a HttpClientConfigurer to add additional authentication / security. The HttpClientConfigurer is used when the http client is created. In our case we'd like to add a kerberos ticket when the http method is called.

How do I call a NTLM secured webservice using Camel-http4?

2015-01-28 Thread bharadwaj
Hi Friends, Can any body point out sample code snippet on how to produce/call NTML secured webservice using camel-http4 component? or please advise, how to achieve it in some other way? Thanks in Advance -- View this message in context:

Re: Passing object parameters to Bean

2015-01-28 Thread Alarm
Not possible ? -- View this message in context: http://camel.465427.n5.nabble.com/Passing-object-parameters-to-Bean-tp5762124p5762182.html Sent from the Camel - Users mailing list archive at Nabble.com.

RE: How do I call a NTLM secured webservice using Camel-cxf?

2015-01-28 Thread Anil Vunnava
Hi Bharadwaj, May I know the web methods (operations) in your web service..? If there are more than one operations we either need to set header on exchange CxfConstants.OPERATION_NAME. Regards, Anil Vunnava -Original Message- From: bharadwaj [via Camel]

Re: How do I call a NTLM secured webservice using Camel-cxf?

2015-01-28 Thread bharadwaj
Anil, may be in the given code snippet header is missing but we have set the header for operation name. On Wed, Jan 28, 2015 at 5:05 PM, Anil Vunnava [via Camel] ml-node+s465427n5762177...@n5.nabble.com wrote: Hi Bharadwaj, May I know the web methods (operations) in your web service..? If

How do I call a NTLM secured webservice using Camel-cxf?

2015-01-28 Thread bharadwaj
cxf:cxfEndpoint id=TestService address=${TestServiceServiceUrl} endpointName=test:CustomBindingService serviceName=test:OrgService xmlns:crm=http://schemas.microsoft.com/xrm/2011/test/Services; wsdlURL=Artifacts/wsdl/testService.wsdl

Re: camel xmljson add @ signs to the json output. how to remove the @ signs

2015-01-28 Thread Raul Kripalani
Hey guys, It's me who developed this component, but in Camel we can only go as far as the Jsonlib library goes. Jsonlib prefixes XML attributes with '@' when converting them into JSON properties [1]. I think this is correct: without some kind of differentiation, you wouldn't be able to cycle back

Re: single CXF endpoint to accept SOAP message for different namespace versions

2015-01-28 Thread Sergey Beryozkin
We can support it directly in CXF with a CXF Transform feature and servlet-level redirects. Example, a single endpoint is covered by 3 servlets, with one of them supporting the current version and two other servlets routing older/newer clients to this endpoint and having a transform feature

Re: Calling REST service without using spring

2015-01-28 Thread Willem Jiang
Hi, I don’t think you specify the right CamelContextLifecycle value. It should be “org.apache.camel.example.servletlistener.MyLifecycle instead of “main.java.org.apache.camel.example.servletlistener.MyLifecycle” The server should be accessed from

single CXF endpoint to accept SOAP message for different namespace versions

2015-01-28 Thread ashwin74268
Hi All, As of now, we have three different webservice endpoint for each type of Schema Version i.e has different namespaces. We are using camel-cxf 2.8.0. e.g 1) Schema with Namespace http://www.example.org/archive/schema/REL-5-1-2 has cxf endpoint cxf://http://hostname.com:/soap/greet 2)

Camel is running only one route at a point of time

2015-01-28 Thread ravi.4indra
I have camel context with routes like this from(file:dir1) //some processing .to(file:dir2) from(file:dir2) //some processing .to(file:dir3) from(file:dir3) //some processing .to(file:dir4) from(file:dir6) //some processing .to(file:dir7) we have a huge no of files going through the

HTTP consumer - Terminology confusing

2015-01-28 Thread muell01
I use the following as a REST consumer from an external service. I know the warning in the Camel docs... but am I using this a webservice consumer or as a Rest Client. Is this form proper? If not what would I replace it with? Would someone explain what the ramifications are in using HTTP as a

Re: camel-script not working with blueprint

2015-01-28 Thread Daniel Lamb
Thanks Claus. Indeed, I needed to have camel-script-javascript installed. In my insane fervor of trial and error, I didn’t notice that I missed camel-script-javascript in my Karaf install. In case any one is interested, I did manage to get tests working with javascript and osgi. You have

Re: Http 3 Component and Credential delegation

2015-01-28 Thread Willem Jiang
Hi, Current HttpProducer holds the HttpClient as the HttpProducer can be used in multiple thread, it is not safe to change the Credential per exchange processing. For you case, you need to create the HttpClient per exchange. You may need to override the process method of HttpProducer. --

Camel upgrade 2.10.3 to 2.14.1 -issues on quartz

2015-01-28 Thread som
I have the below quartz uri in the route throws two exceptions from uri=quartz://report?cron=0+0+8,12,16+*+*+?delete=trueamp;exclusiveReadLockStrategy=#ClusteredLockStrategyreadLockTimeout=1filter=#CSVFilterautoCreate=truemaxMessagesPerPoll=100/ Exceptions: 1.

Re: Using CXF endpoint to call an NTLM protected Rest service

2015-01-28 Thread sathiyaraja
Hi.,, The below links will help you.., http://camel.apache.org/http.html http://camel.apache.org/cxfrs.html http://stackoverflow.com/questions/10169570/how-can-i-invoke-a-restful-service-through-apache-camel Regards, Sathiya -- View this message in context:

Camel's plans for ConcurrentLinkedHashMap

2015-01-28 Thread ndjensen
Camel ticket 4345 added ConcurrentLinkedHashMap. https://issues.apache.org/jira/browse/CAMEL-4345 It seems that ConcurrentLinkedHashMap is included in the camel-core jar but with a different package name of org.apache.camel.com.googlecode.concurrentlinkedhashmap. What is the reason that

Testing Routebuilder classes without a Mock endpoint

2015-01-28 Thread Vinny
Hello All, Sorry if this is a newb question but I was wondering if there is a way to test my routes in way that does not involve added .to(mock:xxx) on the end of the routes. I may be pure vanity but I don't like the idea of having production routes with mocks in them. I saw the documentation on