Hi,
Route1:
Send Message M1 to MQ Q1. // This message goes to a program that
consumes
from Q1 and once some processing is done, write message M2 to Q2.
Upon receiving Message M2 on Q2, //Q2 receives several messages
(M2,N2,P2,
etc.). ONLY when M2 is received, the Route1 should
Hi
When its something with 1000 then it sounds like a prefetch limit
that affects this.
See more on the AMQ web site about that such as
http://activemq.apache.org/what-is-the-prefetch-limit-for.html
On Tue, Dec 31, 2013 at 10:52 PM, Toli Kuznets
tkuzn...@marinsoftware.com wrote:
Have a basic
I have a Camel route exposed as a CXF web service. This is a bottom up web
service and has an operation like so:
ListBook getBooks();
The CXF endpoint is defined as:
cxf:cxfEndpoint id=bookService
address=http://localhost:9045/bookservice;
We have a route which calls a SOAP web service. The return message contains
UTF-8 encoded content. For some reason this results in the following
exception. I wonder what we're doing wrong?
2014-01-01 15:13:01,375 | INFO | ler-ura_Worker-1 | JobRunShell
| 216 -
Turns out that indeed all endpoints were mocked and skipped including the one
that is used as a producer, resulting in no message being sent around.
When using @MockEndpointsAndSkip(pattern) the producer should not be
included by the pattern.
--
View this message in context:
I dug a little deeper. I activated cxf component's loggingFeatureEnabled
property. Seems that the response from the WS is encoded with ISO-8859-1:
request:
014-01-01 16:10:01,055 | INFO | ler-ura_Worker-1 | UraPort
| 132 - org.apache.cxf.cxf-api - 2.6.8 | Outbound
Claus,
Prefetch limit may be the culprit here. We have ours set to 1 since we
have fairly long-running jobs (sometimes hours), and our volumes are
fairly low (we have bursts of 100s or 1000s every hour, and then
lulls)
What would you recommend? Raising our prefetchLimit? Seems like that
goes
I have configured a CXF web service using blueprint, with wsdl2java and it
works well.
from
uri=cxf:/productservice?bus=#cxfamp;serviceClass=com.company.services.productserviceamp;wsdlURL=META-INF/wsdl/productservice.wsdl
/
I would like to add http basic authentication, when working with jetty
Hi,
You can set the Content-Type through the request message context like this
public void process(final Exchange exchange) {
MapString, Object requestContext = new HashMapString,
Object();
requestContext.put(Content-Type,
application/soap+xml;charset=UTF-8);
Can I have a look at your camel route?
It looks like the Karaf Servlet transport doesn’t put username and password
into the message context.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/)
(English)
route id=productservice
from
uri=cxf:/productservice?bus=#cxfamp;serviceClass=com.company.services.productserviceamp;wsdlURL=META-INF/wsdl/productservice.wsdl
/
setProperty propertyName=username
11 matches
Mail list logo