Hi,
Below is the warning that is received due to an exception at any time during
processing of a file. This basically does a rollback of the entire file and
it starts to read again.
WARN thread #0 - [GenericFileOnCompletion] Rollback file strategy:
Hi,
I found the anwer to the problem in apache cxf forums.
http://cxf.547215.n5.nabble.com/How-to-increase-the-max-size-of-a-REST-response-td563077.html
This is more of a issue in the CXF component than camel. But still for
referene, i am sharing this information.
At the server side, we saw
Hi,
I have a camel route which invokes a webservice, and tries to processes the
response. I am using cxfrs component for the invocation. The response i am
receiving is very huge and hence most of the content is removed from the
end.
To remedy this, i am using stream caching -
Hi,
I have been going through the redhat documentation for camel and see that
the definiton of a ProducerTemplate is described as
"The producer template supports a variety of different approaches to
invoking producer endpoints. There are methods that support different
formats for the request
Hi,
The query parameters does not directly get added as headers to your camel
exchange. They will be added as key value pairs to the exchange header
"CamelHttpQuery" and "CamelHttpPath". Please take a look at my post to see
how it works.
Thank you claus. It works as expected.
Regards,
Kalyan
--
View this message in context:
http://camel.465427.n5.nabble.com/file-component-file-producer-setting-file-permissions-tp5774036p5774100.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
You may need to provide the reply aggregation strategy in the split() method
itself. It should be something like below. Also i doubt that the MEP needs
to be set before splitting.
split(new MyExpression(), new
SoapAttachmentAggregationStrategy());
I recently worked on a
Hi,
I have a requirement where in my route creates a file and writes some data
into it. The file is getting created successfully with default permissions
which is 0600. I want the file permissions to be changed to 0777 so that
applications running for different users can also have their hands on
Hi,
Thanks everyone for giving their suggestions. I was able to solve this using
xslt component in a camel-loop . I am giving the route here just for your
reference:
count(/PricePlans/Body/customer)
Hi Henry,
I tried both the options XPath and tokenize. But they didn't give me the
desired results. The route is defined as below:
/PricePlans/Body/customer
The output that i receive from the XPath split is only the customer tag as
shown below.
...
I need the meta-data information
Hi,
Could someone please provide me the syntax for reading the XML payload with
only the relevant tags. My input XML contains data as below:
...
I need to split the input XML and do custom processing for each individual
customer. The XML after splitting
Hi,
I am not sure if its works, but you can try enabling the option streamCache
on the route from which the web service is invoked. When using cxfrs
component with trace/debug enabled the payload (stream) received from server
is flushed once it is displayed - be it in logs or in your application.
Hi,
I am working on a camel route that reads an excel and does some processing.
I had this written in Spring DSL as shown below.
In the processor, the exchange body i received is
java.util.ArrayList. Using a simple iterator i was able to do my
processing.
List orders =
Hi,
You may try one of the below two approaches:
1. Redefine your method signature and use the Bean annotations.
public void transformBodyUsingStyleSheet(Exchange exchange,
@Header("organizationStyleSheet") String styleSheet)
{
..
}
2. If the above didn't work, modify the bean delcaration in
Hi,
I do not think that the below initialization would listen for the requests
on the url provided in the SERVICE_ADDRESS.
CxfEndpoint serviceEndpoint = new CxfEndpoint(SERVICE_ADDRESS,
cxfComponent);
You initialize the CxfEndpoint with the required properties. If you want to
use it as a
Hi,
Hope the below gives a better understanding to the users.
There are two properties provided when dealing with exceptions - continued
and handled.
1. handled - Again this property can be set with either true/false.
TRUE:
Do not send it further down the route.
No exception sent back
Hi,
Option "streamCache" can be set on the route in order to capture and buffer
the received inputstream and not to close it. Just use the option as
specified below:
...
...
First time developers who are working with cxfrs component will find this
very annoying unless they are aware of this
Hi,
There is no such namespache as "camel-cxf". You should remove this and use
something like below:
If there is indeed a namespace such as "camel-cxf" it should be added in
your beans tag definition.
Thanks,
Kalyan
--
View this message in context:
Hi,
I am trying to consume a REST webservice using the cxfrs component. The code
looks as below:
cxf:rsClient id=restClient
address=http://localhost:8080/camel-cxf-rest/webapi/myapp/hello/greet;
serviceClass=org.examples.camel.camel_cxfrs_client.HelloWorldIntf
19 matches
Mail list logo