Re: using apache camel : org.apache.http.NoHttpResponseException after 10 seconds of request

2017-02-22 Thread souciance
You may wanna look here: http://camel.465427.n5.nabble.com/soTimeout-ignored-by-camel-http-component-td5746289.html#a5746290 On Thu, Feb 23, 2017 at 3:04 AM, ishant_ag [via Camel] < ml-node+s465427n5794302...@n5.nabble.com> wrote: > > Souciance, Following is the final request, though with bigge

Camel-Websocket is giving 405 HTTP method GET is not supported by this URL

2017-02-22 Thread ilter
Hi, I implemented a websocket service and deployed into Kubernetes. It can be accessible directly with the IP but by using the Hostname that is generated by Ingress not accepted by Jetty server and I am getting error "405 HTTP method GET is not supported by this URL" The question is that if Jetty

Re: Stop component "direct-vm" from another OSGI camelContext

2017-02-22 Thread alexey-s
Thanks Claus. I looked implementation camel-scr. I found there Here the problem lies elsewhere. DirectVmComponent erases data endpoints list For this purpose, it uses the counter First CamelContext adds new endpoint (consumer) "direct-vm". Create new component (DirectVmComponent). The counter

Re: using apache camel : org.apache.http.NoHttpResponseException after 10 seconds of request

2017-02-22 Thread souciance
Please share your route. Den 22 feb. 2017 6:30 em skrev "ishant_ag [via Camel]" < ml-node+s465427n579429...@n5.nabble.com>: > Hi Tomo, > > Actually I am getting this exception as soon as the request takes more > than 10 seconds. > I tried hitting the server directly via postman it gives the respo

Re: using apache camel : org.apache.http.NoHttpResponseException after 10 seconds of request

2017-02-22 Thread ishant_ag
Hi Tomo, Actually I am getting this exception as soon as the request takes more than 10 seconds. I tried hitting the server directly via postman it gives the response back in about 11.5 seconds successfully . Regards, Ishant -- View this message in context: http://camel.465427.n5.nabble.com/u

Re: Sending/Receiving active-mq with transferExchange silently removes Exchange headers

2017-02-22 Thread rsteppac2
I was too rash. The exception stated in my first message is raised due to the body of the exchange in-message, which is of type Map. I worked around the problem by marshalling the map to JSON. Irrespective of whether I use "transferExchange" or not I am loosing a header of type Set. No exception o

Re: Stop component "direct-vm" from another OSGI camelContext

2017-02-22 Thread Claus Ibsen
You need to start the CamelContext first Also we dont encourge end user to create their own osgi camel context, as there is a bunch of stuff you need to do this so its correct. Take a look at how eg camel-scr for example does some stuff. On Tue, Feb 21, 2017 at 4:51 PM, souciance wrote: > Befor

Re: using apache camel : org.apache.http.NoHttpResponseException after 10 seconds of request

2017-02-22 Thread Tomohisa Igarashi
Hi, It looks like the server just terminated the connection without returning HTTP response, but not with timeout. You may want to check raw server response by telnet or something. Thanks, Tomo On 02/22/2017 11:29 PM, ishant_ag wrote: Hi All, I am getting the following exception after 10 se

Re: using apache camel : org.apache.http.NoHttpResponseException after 10 seconds of request

2017-02-22 Thread ishant_ag
Any help is extremely needed and much appreciated. -- View this message in context: http://camel.465427.n5.nabble.com/using-apache-camel-org-apache-http-NoHttpResponseException-after-10-seconds-of-request-tp5794285p5794286.html Sent from the Camel - Users mailing list archive at Nabble.com.

using apache camel : org.apache.http.NoHttpResponseException after 10 seconds of request

2017-02-22 Thread ishant_ag
Hi All, I am getting the following exception after 10 seconds of execution of the http request. But I have used httpClient.socketTimeout=6, and httpClient.connectTimeout=6 in my url. So can anyone please suggest me which timeout variable should I use and change its value, so that I don't g

Re: Installing camel-amqp in ServiceMix 6.1.1

2017-02-22 Thread Mark
FWIW I was able to get camel-amqp working in ServiceMix 6.1.1. I deployed camel-amqp 2.16.5 after giving up on 2.16.2. Here are the files I added to the servicemix/deploy folder: camel-amqp-2.16.5.jar netty-buffer-4.0.41.Final.jar netty-codec-4.0.41.Final.jar netty-codec-http-4.0.41.Final.jar ne

Re: Stop component "direct-vm" from another OSGI camelContext

2017-02-22 Thread alexey-s
Opened error on this topic https://issues.apache.org/jira/browse/CAMEL-10880 -- View this message in context: http://camel.465427.n5.nabble.com/Stop-component-direct-vm-from-another-OSGI-camelContext-tp5794194p5794280.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Concurrent modification of DefaultExchange

2017-02-22 Thread rsteppac2
Hello Claus, Claus Ibsen-2 wrote > If you want an volatile exception member then provide a github PR Personally I think that for almost all integrators it makes sense for the DefaultExchange to not be thread safe. Incurring the cost of volatile member access for everyone, whether they need it or

Sending/Receiving active-mq with transferExchange silently removes Exchange headers

2017-02-22 Thread rsteppac2
Hello all, I tried to migrate a route from using the "direct" endpoint to using the ActiveMQ endpoint. I ran into an issue with exchange headers that contain arrays of Strings. They get rejected with a MessageFormatException: Failed delivery for (MessageId: ID-Ralfs-MacBook-Pro-local-56776-148775

Re: Concurrent modification of DefaultExchange

2017-02-22 Thread Claus Ibsen
Hi If you want an volatile exception member then provide a github PR On Thu, Feb 16, 2017 at 12:01 PM, rsteppac2 wrote: > Hello all, > > I have to ensure that the thread that runs a route (and the error handler) > is guaranteed to see an exception set on the exchange instance if that > instance

Re: Apache Camel disable DTD validation or resolve to relativ Path

2017-02-22 Thread Claus Ibsen
Hi I think it can help if you can find any information about Java XML / StAX / and its XML apis et all how to turn on | off that DTD validation, or plugin custom resolvers. It tend to be a mess / mix of ways doing that / if all possible. Having that we can see if there is something we can add/ch

AW: How to Parse .tsv(tab separated value) file

2017-02-22 Thread jhm
Simply specify @CsvRecord(separator="\t"). Jan package de.materne.camel.sandbox.tsv; import java.util.Optional; import org.apache.camel.EndpointInject; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.dataformat.bindy.a

Re: Stop component "direct-vm" from another OSGI camelContext

2017-02-22 Thread alexey-s
Got a call stack is a list of all the cleaning system "dicect-vm" In the mode "debug" error caught a third call karaf shell command. -- View this message in context: http://camel.465427.n5.nabble.com/Stop-component-direct-vm-from-another-OSGI-camelContext-tp5794194p5794273.html Sent from th

Re: How to Parse .tsv(tab separated value) file

2017-02-22 Thread Tomohisa Igarashi
Hi, Have you tried specifying '\t' as a separator? http://camel.apache.org/bindy.html Thanks, Tomo On 02/22/2017 07:18 PM, Gunjara wrote: HI All, if there any way to parse .tsv file , like .csv using Bindy . It is possible to use camel Bindy for parsing .tsv file. -- View this message in co

How to Parse .tsv(tab separated value) file

2017-02-22 Thread Gunjara
HI All, if there any way to parse .tsv file , like .csv using Bindy . It is possible to use camel Bindy for parsing .tsv file. -- View this message in context: http://camel.465427.n5.nabble.com/How-to-Parse-tsv-tab-separated-value-file-tp5794268.html Sent from the Camel - Users mailing list arc

Re: Stop component "direct-vm" from another OSGI camelContext

2017-02-22 Thread alexey-s
I added to the code Camel Karaf commands work. First time doing team No errors. For the second time running the command. An error. Routing code The second time I launch the command Indicates that all works. Why error occurs DirectVmConsumerNotAvailableException? -- View this message in c

RE: Anyone experimented with verifying OAuth SAML Bearer Assertion with Camel?

2017-02-22 Thread Goyal, Arpit
Thanks. This looks promising. In our stack we do have Apache CXF for SOAP communication and Jetty All bundle for testing. I need to check if CXFRS jars are available and how to stich it up with Jetty :S (don't have much ex in these components). Also, will follow up on the other mailing list.

Re: Stop component "direct-vm" from another OSGI camelContext

2017-02-22 Thread souciance
I would post this on the Karaf forum and hear what they say. Probably more people there using OSGI services. On Wed, Feb 22, 2017 at 8:46 AM, alexey-s [via Camel] < ml-node+s465427n5794231...@n5.nabble.com> wrote: > Command context-list extend class CamelControllerImpl. > This class find OSGi ser