CxfEndpoint soap client usernametoken authentication

2016-09-21 Thread catequil
I am trying to access a soap service that requires that I athenticate with a usernametoken in the security header. Example desired outcome: I can get the soap envelope part right with body, but the header with security header alludes me. Does anyone have a best practices for doing this in

Camel returns HTTP operation failed invoking with status code 400

2016-09-21 Thread Vanshul . Chawla
Hello All, I have a peculiar problem. I have a service written in camel using Camel 2.17. I am invoking an external webservice over https. I have imported certificates in a keystore( my local jdk keystore) and the service returns a correct response. When I execute same jar on a server, it

Why is the set body not being returned?

2016-09-21 Thread sim085
Hello, I am trying some Camel with Jetty examples. The problem I have is that after I do an http request to another site jetty no longer returns the set body. For example, [code] from("jetty:http://localhost:8080;).setBody(constant("OK")); [/code] Returns "OK" when from the browser I

Re: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml

2016-09-21 Thread Brad Johnson
I have to wonder if this is related to the problem you're seeing with the CBTS using weaving. It just popped up. Since I've never used that mechanism I don't know. I usually just add my test endpoint definitions in the test-blueprint-proerties.xml and then have a different default and cfg

Re: Why is the set body not being returned?

2016-09-21 Thread souciance
I would think it is because the setbody is setting the body in the IN exchange and the response you get is from the OUT exchange due to the request/reply nature of your operation. It works similarly with RabbitMQ where you have to set exchangePattern to InOut to get request/reply. If you log the

Re: Blueprint and property placeholder

2016-09-21 Thread Brad Johnson
I don't believe the same properties can be used by multiple bundles yet. I think it's in the specification but isn't implemented in Aries yet. Anyone out there that knows otherwise please correct. On Tue, Sep 20, 2016 at 12:43 PM, dpravin wrote: > Hello All, > > We

Re: weaveAddFirst doesn't work correctly with route level onException

2016-09-21 Thread ncsibra
Upload a corrected file, which starts the route after adviceWith setup, but doesn't matter, it fails with the same exception. OnExceptionTest.java -- View this message in context:

weaveAddFirst doesn't work correctly with route level onException

2016-09-21 Thread ncsibra
Hi, I'm using camel version 2.17.1 and I have some problem with the weaveAddFirst method. When a route level onException clause exist and only one advice added or multiple advice added, but the first one contains the weaveAddFirst method, then camel will throw an exception:

Re: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml

2016-09-21 Thread owain
Brad, Thanks I will give it a go. O. ![](https://link.nylas.com/open/ez36v71u7uh7qiundny4ougdd/local-bdc9cbeb- 0fb0?r=bWwtbm9kZStzNDY1NDI3bjU3ODc3OTNoMzdAbjUubmFiYmxlLmNvbQ==) On Sep 21 2016, at 12:01 am, Ranx [via Camel] wrote: > One part of this that's been bothering mainly

Re: XML Security - Is it possible to change transform algorithm on KeyInfo-object and SignedProperties?

2016-09-21 Thread Franz Paul Forsthofer
Hello Niklas, can you point me in the spec https://www.w3.org/TR/xmldsig-core/ to the part which allows to define transformations also for the KeyInfo element. I could not find such kind of definition. If it is there in the specification we might think about to include this into our camel

Re: Database route shutdown

2016-09-21 Thread redpower1989
Hello, Thanks for the response. According to the FAQ in order to stop a route it is better to do it inside a different thread. In my case that worked fine. Now i am trying when the database is available to start egain the stopped route. If i want to start a route do i have to do it again from a

Blueprint and property placeholder

2016-09-21 Thread dpravin
Hello All, We have some common properties, not integration/bundle specific. Can multiple routes/bundles refer to these property files from blueprint using cm:property-placeholder? I also found out that if you have set update-strategy="reload" the bundle get restarted irrespective of the property

Camel MQTT Connection Pooling

2016-09-21 Thread Joe San
Camel Users, Is there a comparable pooled connection implementation for the MQTT component in Camel? For the ActiveMQ / JMS, there is a *PoolingConnectionFactory* that I could use. Is there something for the MQTT component? Looking at the configuration parameters, I suspect it is not:

Re: rabbitmq component headers

2016-09-21 Thread Ismail Emre Kartoglu
Sorry, I’ve switched to using the camel & rabbitmq-component version 2.17.3 (latest in maven central repo), and my initial issue does not exist with this version. Now I have a slightly different question: from("rabbitmq://localhost/A?username=guest=guest=B=1=false")

Re: cxf-core 3.1.7 Validation issue with camel

2016-09-21 Thread sari.reach
Hi, Please find the entire camel-config.xml. Schema information is inside the resource folder(in classpath). For this scenario, request validation is working fine and only response validation is creating an issue http://www.springframework.org/schema/beans;