Questions tagged [camel-cxf]
54 questions
6
votes
3 answers
How to distinguish between JSON null value and default java null in java pojo
I am understanding below JSON
{ "id": "1", "value": "some value" }
{ "id": "2", "value": null }
{ "id": "3" }
To hold the above JSON data I have java class :
class myClass
{
private String id;
…

sudheer mishra
- 73
- 5
3
votes
2 answers
Maven Enforcer plugin identifies Dependency Convergence issue within Camel-CXF
The Maven enforcer plugin is identifying a code convergence issue with a 3rd party library I'm using. How can I ignore this whilst still running the enforcer plugin on the project over the rest of the project or how else should I resolve the issue…

mriddle88
- 101
- 7
2
votes
0 answers
Apache Camel returns NullPointerException when calling CXF Endpoint. This is failing after upgrading camel from 2.X to 3.0
I have a CXFEndpoint as below
CxfEndpoint cxfEndpoint =new CxfEndpoint();
cxfEndpoint.setAddress("http://localhost:9201/mock");
cxfEndpoint.setDataFormat(DataFormat.CXF_MESSAGE);
…

Padma Priya Kowlwar
- 21
- 1
2
votes
0 answers
Camel-cxf stop route shutdown the bus
I have an error that I can not fix with camel. When I stop and delete a camel route that uses cxf. I get the following log:
INFO o.a.c.s.SpringCamelContext - Route: TOTO-S is stopped, was
consuming from: direct://secondMouvement-TOTO
16:37:13.728…

Roy9590
- 35
- 4
1
vote
1 answer
How do I install camel-cxf feature for camel 3.8.0 in Apache Karaf 4.2.15?
This works:
karaf@root> feature:repo-add camel 3.7.7
karaf@root> feature:install camel camel-cxf
This doesn't work:
karaf@root> feature:repo-add camel 3.8.0
karaf@root> feature:install camel camel-cxf
Error message:
Error executing command: Unable…

Henrik
- 33
- 4
1
vote
1 answer
Blueprint container error on OSGi bundle start up
We have a Karaf OSGi server that has a bundle used for incoming web requests using CAMEL/CXF.
Since the weekend, when the server starts, the bundle has been giving the following error:
Unable to start blueprint container for bundle…

DuncanKinnear
- 4,563
- 2
- 34
- 65
1
vote
1 answer
Exchange.GROUPED_EXCHANGE not available after aggregation in Apache Camel 3.7.2
After upgrading from Apache Camel 2.x to 3.7.2 in our Java 11 project we experience some crudities in a route configuration class, extending the RouteBuilder (Documentation) class. With Camel 2 I used the SimpleExpression ${property[" +…

Fips
- 53
- 6
1
vote
0 answers
error java.lang.LinkageError when using cxf in karaf
i am using cxf 3.3.5 and karaf 4.2.7
I have an application that is a soap client and makes requests for a soap service, if no errors occur on the remote service, then everything is fine, but when an exception occurs, then I see an error for the…

D. Batmanov
- 39
- 1
- 8
1
vote
1 answer
Apache Camel dispatch to local JaxRs resource implementations
I have a camel cxf-rs endpoint that splits the requests into two main parts.
form("cxfrs:bean:rsServer")
.when(isForward()).to("cxfrs:http://example.com")
.otherwise().process(myCustomDispatcher) // i want to get rid of this custom…

k5_
- 5,450
- 2
- 19
- 27
1
vote
0 answers
Camel way to filter HTTP headers on CXF SOAP messages
I have built a Camel application that consumes from Kafka, calls a SOAP service and produces to Kafka.
Because of Camels automatic header transport between protocols (very useful), there were quite some unneeded message headers on Kafka messages and…

burki
- 6,741
- 1
- 15
- 31
1
vote
1 answer
work with session and cookies in apache camel
i am using component camel-cxf. I want to try to implement the following user authentication scheme:
there is a soap method Login with user and password fields
in the camel processor user-password check occurs
in the camel processor create session…

dbatman 45
- 11
- 2
1
vote
1 answer
Cannot be cast to java.lang.String error at WrapperClassOutInterceptor when connecting SOAP endpoint through Camel cxf component
I'm doing an implementation to call a SOAP web service and process the response.
I started from below post and I got below error when it is connected to the web service…

ironwood
- 8,936
- 15
- 65
- 114
1
vote
1 answer
Servicemix 7.0.1 - cxf server start too slowly after migration
In the context of a migration from ServiceMix 5.1.4 (smx-5) to ServiceMix 7.0.1 (latest stable release) (smx-7) I can see a strange behaviour on my camel routes using the cxf:RsServer
My Camel route looks like this:…

рüффп
- 5,172
- 34
- 67
- 113
1
vote
0 answers
Apache CXF logging SOAP XML in /tmp folder
Apache CXF (version 3.2.4) is logging all my soap xml messages in /tmp folder.
I am using LoggingInInterceptor and LoggingOutInterceptor as cxf interceptors in the cxfEndpoint provided in the Apache CAMEL (version 2.22.0) framework.
I see in the…

srikant_mantha
- 109
- 1
- 13
1
vote
1 answer
data transfer from the queue to the soap server using apache camel
I have a JSON in the queue: {"user":'Alex', "times": 34}.
I want from this data to send a soap request to the server
WSDL:
my route:

D. Batmanov
- 39
- 1
- 8