I have STOMP message producer in client and JMS message consumer in server.
Since STOMP does not support MapMessage, I have JSON as Stomp message body.
I must define routing in camel XML like if from JSON message body "foo" is
equal to "x" then route to queue A, if "foo" is equal to "y" then route
Unfortunately no, not with the standard jaxb implementation. You'll have to
use custom plugin and adapters if you want to use CDATA sections in your
xml marshaling/unmarshaling
Henrique Viecili
On Tue, Dec 3, 2013 at 7:37 AM, ykoer wrote:
> Hi,
>
> is there a way to umarshal XML with CDATA sec
Hi,
is there a way to umarshal XML with CDATA sections and back using jaxb in
camel routes?
This is my XML:
I created a test route to unmarshal and marshal in series:
DataFormat jaxbError = new JaxbDataFormat("error.model");
from("direct:error")
.unmarshal(jaxbError)
.log("${body}")
.marshal(
Camel Gurus,
I am running Camel 2.8, and to proxy a https web service I use
the following simple route:
from("servlet:///proxyWebService/api/?matchOnUriPrefix=true")
.process(myProcessor)
.to("https4://realWebService:8443/api/?bridgeEndpoint=true&throwExceptionOnFailure=false");
Hi,
we have an existing fairly mature Spring Web MVC application that runs with
an embedded Jetty. The application also implements Spring Security. We have
also successfully used some Camel routing within the application (with file
and message queue endpoints.) My question:
Is it possible to u
Yes %s is a replacer in the String.format method. See the javadoc of
how that works.
Its expected to not be possible to use in a .properties file. You
still need to use fromF("url", password) and pass in the decryped
password as the 2nd parameter.
fromF is using String.format under the covers.
I suggest to set a timeout option on the pollEnrich as suggested
http://camel.apache.org/content-enricher.html
Depending on the Camel release AFAIR then without a timeout option it
may use receiveNoWait which could potentially not detect any new
files/messages. With the timeout it ensures to give
EventDrivenConsumerRoute[Endpoint[cache://http-namespaces-softwareag-com-EDA-WebM-Sample-PulsePressRelease-default]
->
Channel[sendTo(Endpoint[nervDefaultJMS://topic:Event::WebM::Sample::Pulse::PressRelease?disableReplyTo=true])]]
--
View this message in context:
http://camel.465427.n5.nabble.c
Hello,
I have a route triggered by timer where I read data (zulu time) from file
(using poolEnrich) and at the end of route I replace data in file for next
route iteration.
Now after deploy on server I found following problem:
- sometimes data are not loaded from file and poolEnrich return only 0
Hi,
It doesn't work by using properties file, this is what i tried :
In my route,
fromF("ftp://{{user.name}}:%s@xx//echange/MassPayment/IN/?noop=false&initialDelay=0&idempotent=true&stepwise=false";,
decryptedPwd) --> OK, it works !
but if i use my properties file :
fromF("{{source.en
Are you getting any other log statements printed out to your 'out' console
appender?
Given that you've set the root log level to DEBUG in your log4j
configuration, you should be seeing a lot of log noise from Camel.
If you don't, your container may not be picking up your log4j configuration
file.
The log uses the route name as the logger name by default.
You can try to specify a logger name to use with the 3 args version
public Type log(LoggingLevel loggingLevel, String logName, String message) {
And do you run your Camel app is some container or does this happen
also from an unit tes
12 matches
Mail list logo