You can change the below DSL
//JMS Endpoint
.to("activemq:queue:outputqueue");
to
.inOnly("activemq:queue:outputqueue");
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://wi
FYI, I just filled a JIRA[1] for it, the patch is committed into the trunk.
[1]https://issues.apache.org/jira/browse/CAMEL-6092
--
Willem Jiang
Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http:/
Hi,
If you just want to send the response to the queue, you need to change the MEP
(message exchange pattern) to InOnly, otherwise camel-jms producer will
complain about it cannot get the right response on time.
BTW, we need to set the MEP according to the request we got in the camel-cxf
con
Hi,
I am creating a camel application, where the client sends the SOAP request
to the CXF endpoint and the response should be sent to an JMS endpoint.
I am getting a error and the message moves to the DLQ. Is that because CXF
endpoint itselfs expects the response.
I think, I have done a logi
Hi,
I don't marshal in seda:next route because in seda:next route, i'll
unmarshal.
from("seda:next").unmarshal().json(JsonLibrary.Jackson).to(...);
So, i must marshal before sending to seda:next, that why i want using a
ProducerTemplate.sendCallBack and call a MarshalProcessor inside Processor.
Hi,
How did you start the camel route?
Did you have chance to go through this page[1] and this example[2]?
[1]http://camel.apache.org/spring-web-services.html#SpringWebServices-Exposingwebservices
[2]http://camel.apache.org/spring-ws-example.html
--
Willem Jiang
Red Hat, Inc.
FuseSource is n
Thanks for the reply!
To describe my case more precisely, in my Processor, I get the JAXB object:
MyObj obj = exchange.getIn().getBody(MyObj.class)
obj has fields getOne, getTwo, getThree and so on
I have to go through those fields and somehow map them to a target object.
Some fields in the
Why you do not try it out? ;-)
Best,
Christian
On Wed, Feb 20, 2013 at 2:52 PM, BobbySixKiller wrote:
> Hi,
>
> I have a simple question about parsing xml and performance. Actually my
> route is like this :
>
> from("endpointIn")
> .convertBodyTo(String.class)//
> .unmarshal().jaxb("com.groupem
We will harmonize this with Camel 3.0 [1].
[1] https://issues.apache.org/jira/browse/CAMEL-6076
Best,
Christian
On Thu, Feb 14, 2013 at 1:38 PM, Scott Cranton wrote:
> I've just noticed the reference syntax that some components use, but
> its not clear to me exactly how it works, and more impo
Hi,
> It works fine but i was wondering, is this route more performant ?:
> NB: The xml files are pretty big.
If XML (de)serialization is an issue consider using JiBX data format [1].
from("direct:start").unmarshal().jibx(MyMappedBean.class).to(...);
JiBX is a speed demon comparing to JAXB.
Be
Thanks for sharing your solution!
Sent from a mobile device
Am 20.02.2013 07:56 schrieb "Dirk Reske" :
> Hi,
>
> no, the uriResolver is used to resolve the xslt file only.
> I've found a way, using a processor, that creates a XMLReader using the
> CatalogResolver and puts a SAXSource using this x
Should work. Did you EXPLICITLY specified context IDs?
If you have more than one context you can't rely on the default since all
context would get same - and that is not possible.
Ales
-Original Message-
From: james.z.zhou [mailto:james.z.z...@hotmail.com]
Sent: Wednesday, February 20,
Hi,
In the architecture I am working in, messages come into a ActiveMQ Queue
from IBM MQ.
An application/consumer polls the messages from this active MQ Queue.
Note: Active-MQ is configured within JBoss & Camel does the job of moving
messages b/w IBM MQ, Active MQ and b/w active MQ; consumer.
Hi:
The story is, I have two camelContexts defined in two XML files, say
camel-context1.xml and camel-context2.xml and I imported them to a main.xml,
the main.xml looks like:
...
DB.xml contains DB-related bean definitions, like jpaComponent and
PROCESSOR.xml contains the processor bean def
Hi,
> But i want send foo directly to seda:next, how i can do with
> MarshalProcessor?
Don't call MarshalProcessor from inline processor. Instead pass
MarshalProcessor to the DSL directly:
from("seda:next").process(marshalProcessor).to(...);
Best regards.
--
Henryk Konsek
http://henryk-konsek.
Hi,
I have a simple question about parsing xml and performance. Actually my
route is like this :
from("endpointIn")
.convertBodyTo(String.class)//
.unmarshal().jaxb("com.groupemb.entite.search.compario.in")//
.process(...)
where com.groupemb.entite.search.compario.in refers to a jaxb.index
Hi,
I took an *ugly* approach.
Capture the HTTP exception (OnExeption) - then find out what type of
ShatusCode it is.
If its between 400..499 then just simply log the exception, if Status Code
is between 500..599 then i manually publish the message back into my
ActiveMQ Queue (for camel to again p
Hi,
Did you have chance to check the log file to check if the camel context is
started and routes are loaded rightly.
I didn't found anything is wrong by just checking the MainSpring code. Can you
fill a JIRA and send a small test case on it?
So we can keep on digging the issue.
--
Willem J
18 matches
Mail list logo