Sure you can check [1] for and example, thanks!
[1]
https://github.com/apache/camel/blob/b9a3117f19dd19abd2ea8b789c42c3e86fe4c488/components/camel-fhir/camel-fhir-component/src/test/java/org/apache/camel/component/fhir/FhirCustomClientConfigurationIT.java#L63
On Tue, Jun 25, 2019 at 7:42 AM Claus
Hi Claus,
Is there a way to handle the RejectedExecutionException when using a
DynamicRouter? I'm not quite ready yet to refactor my router to static
endpoints. Here is the setup I have for it:
public void configure() throws Exception {
from(inputEndpoint)
.pro
Hi, the scenario is a simple cxfrs endpoint from that passing message to a cxf
ws.env: WildFly-Camel 4.9.0 the error message:java.lang.ClassNotFoundException:
hu.fornax.olir3.dms.producer.UTPasswordCallback CxfEndpoint with password
callback: @Named("dmsProducerEndpoint")
@Produces
p
Can you get the sender to specify which type of file it is using a particular
topic or message header or something?
Michael Davis
On 2019-06-21, 5:29 PM, "Ron Cecchini" wrote:
Hey, all.
I have a route that's sitting on a port and it can receive 1 of 2 different
XML messages.
Hi,
the scenario is a simple cxfrs endpoint from that passing message to a cxf ws.
env: WildFly-Camel 4.9.0
the error message:
java.lang.ClassNotFoundException:
hu.fornax.olir3.dms.producer.UTPasswordCallback
CxfEndpoint with password callback:
@Named("dmsProducerEndpoint")
@Produces
I am using camel 2.24.0, and kafka 1.0, so the config
value(group.initial.rebalance.delay.ms ) does exist in that version according
to the kafka documentation, but it's not in the camel documentation that I see.
I searched the latest camel code and didn't find the
value(group.initial.rebalance
On Tue, Jun 25, 2019 at 4:20 PM Hart, James W. wrote:
>
> I am using camel 2.24.0, and kafka 1.0, so the config
> value(group.initial.rebalance.delay.ms ) does exist in that version according
> to the kafka documentation, but it's not in the camel documentation that I
> see. I searched the lat
Hi,
I'm using google-sheets-stream component to read google sheet and it is
working fine, but I want to split the body into rows and columns, there is
an option called "splitResults" given in camel doc, but when I'm using that
option it throws "unknown parameters" error.
*Anybody have any idea ab
Hi,
I think we have to make sure that your project is using Camel 2.24.x and no
other version like 2.23.x is there in the line of dependencies. Are you
using Maven? If so could you please try a 'mvn dependency:tree' and make
sure that there is only 2.24.x in that tree?
Also it would be good to se
Hi,
We have a micro service (multiple instances and each instance has multiple
consumers) on AWS that uses Camel aws-sqs to listen to a AWS sqs queue.
Our camel version is 2.24.0 and the aws-sqs config is
visibilityTimeout=300&extendMessageVisibility=true&maxMessagesPerPoll=5&con
currentConsumers=5
Hi,
Thanks for reply ,
*Please find gooogle-sheets-stream endpoint URI :*
*Please find mvn dependency:tree output ,*
[INFO] +-
org.apache.camel:camel-core:jar:2.21.0.fuse-730078-redhat-1:compile
[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
[INFO] | \- com.sun.xml.bind:jaxb-
Unfortunately, I can't.
The device I'm listening to sends a mix of "Status" and "Data" messages over
the same UDP port.
I've been trying to implement the strategy I alluded to, using doTry/doCatch to
try unmarshalling as one message type, and then the other ... but things have
gotten gnarly:
Hi,
probably it's best to "marshal" to a generic XML Document, for example
org.w3c.dom.Document
exchange.getIn().getBody(Document.class)
Or try to run an XPath expression on the body and decide to which class you
need to unmarshal the body.
Sorry, don't have an example at hand yet.
Regards,
Hi
Okay you are using Camel 2.21, so you should look at the docs for that version.
Also you are using Red Hat Fuse, and they also have docs for the
components that matches the Camel version they ship in their product.
On Tue, Jun 25, 2019 at 5:30 PM Bikash Kaushik
wrote:
>
> Hi,
>
> Thanks for
You can unmarshal well formed xml without the type and then use an xpath and
choice to decide what to do with the different XMLs. This might mean some
extra steps, but it should work. The error handling method could be a little
messy.
Another lower level way would be to inspect what's in the
try to use 2.21.0.fuse-740028 or a later version. This should work as it
has the google-sheets component with splitResults support.
On Tue, Jun 25, 2019 at 6:39 PM Claus Ibsen wrote:
> Hi
>
> Okay you are using Camel 2.21, so you should look at the docs for that
> version.
>
> Also you are using
Sweet Baby Jesus, I got it, guys! Thank you so much.
I hadn't used xpath() before, so I started reading and playing with it.
The messages I have to parse are pretty simple, with unique root tags:
"StatusMessage" or "DataMessage".
So I tried the following and started having success with it:
Hi,
Please find updated mvn dependency tree, as suggested by you to update
version, still I'm not getting *splitResults * option in google spreadsheet.
[INFO] +- org.apache.camel:camel-core:jar:2.23.2.fuse-740002:compile
[INFO] | +- com.sun.xml.bind:jaxb-core:jar:2.3.0:compile
[INFO] | \- com.s
Hi
Again make sure to align and use the same Camel version. You have mixed.
And use the Fuse Camel version as suggested by Christoph.
[INFO] | \- org.apache.camel:camel-core-osgi:jar:2.21.0.fuse-740025:compile
[INFO] +- org.apache.camel:camel-google-sheets:jar:2.24.1:compile
And you can ask Red
Hi
For null body, see this FAQ
http://camel.apache.org/why-is-my-message-body-empty.html
On Tue, Jun 25, 2019 at 10:24 PM Ron Cecchini wrote:
>
>
> Sweet Baby Jesus, I got it, guys! Thank you so much.
>
> I hadn't used xpath() before, so I started reading and playing with it.
>
> The messages I
Hi,
I have a zip file, after splitting zip to a local path, I have to transfer
each extracted file to FTP in sequential order.
If during dropping file to FTP, there is connectivity issue, then I have to
retry 3 times, if after 3 retrials also, file not processed to FTP then
move to another path be
Hi,
I want to know , how to pass header value in Camel xpath ,
*//*[local-name()='EmployeeDataResult']/text()
I have to pass header value in between xapth.
Regards,
Bikash Kaushik
22 matches
Mail list logo