Thanks. I'll submit a patch for this.
On Mon, Jun 22, 2015 at 11:40 PM, Claus Ibsen wrote:
> Hi
>
> Yeah well spotted. You are welcome to log a JIRA and work on a patch / PR
> http://camel.apache.org/support
>
> On Mon, Jun 22, 2015 at 7:29 PM, Rahul Jain wrote:
> > Camel-kafka component (2.15.
Ah use .routeId to set the route nane in Java code. You cannot use name
attribute in xml
Den mandag den 22. juni 2015 skrev Pratt, Jason :
> Hi claus - sorry mate.
> I am using 2.15.2 running in a karaf 3.0.3 container
>
> When I list the routes via camel:route-list I get a generic route number
>
Hi claus - sorry mate.
I am using 2.15.2 running in a karaf 3.0.3 container
When I list the routes via camel:route-list I get a generic route number for
both 1 and 2. Currently they are 33 and 34 respectively.
Jason
-Original Message-
From: Claus Ibsen [mailto:claus.ib...@gmail.com]
Hi
Can you tell a bit more about which Camel version. And what CLI do you
use? And what command or what you do type.
On Mon, Jun 22, 2015 at 8:30 PM, Pratt, Jason wrote:
> Hello everyone - I am trying to get my routes to show up when I list them in
> the CLI. I can get the context to display 'm
I am running a standalone camel app with an embedded activemq broker where
the broker and route definitions are defined in xml file.
I just created a timer to trigger messages to be sent to a queue.
When I run in eclipse, everything is fine - both producers and consumers are
happy. However, when
Hello everyone - I am trying to get my routes to show up when I list them in
the CLI. I can get the context to display 'myId', but not route1 or route2.
What am I doing wrong?
http://camel.apache.org/schema/blueprint"; id="myId">
Regards,
Jason
No, it wasn't that (though I've been caught be that in the past).
It turned out that its something strange with the result needing to be
set to the body of the Out message, not the In message.
Not totally sure about it, but I have something that works now.
Tim
On 22/06/2015 18:21, Claus Ibsen
Hi
Yeah well spotted. You are welcome to log a JIRA and work on a patch / PR
http://camel.apache.org/support
On Mon, Jun 22, 2015 at 7:29 PM, Rahul Jain wrote:
> Camel-kafka component (2.15.1) gives a NullPointer exception in
> NotifyBuilder causing our assertions to fail.
>
> The error seems to
Not sure what version you are using...
try upgrading activemq and see
Cheers!
-Yogesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Getting-a-javax-jms-JMSException-java-io-InterruptedIOException-tp5764382p5768482.html
Sent from the Camel - Users mailing list archive at N
I did start looking at the error handling framework. Right now I have
something in the spirit below, but I still am not sure, what would be the
best replacement recipientList or for inOnly.
java.net.Conne
Hi
If it works without the log, then see this
http://camel.apache.org/why-is-my-message-body-empty.html
On Mon, Jun 22, 2015 at 7:18 PM, Tim Dudgeon wrote:
> I'm struggling with a REST DSL. It handles a POST request for a file upload,
> so the request body is binary type, and the response is JSO
Camel-kafka component (2.15.1) gives a NullPointer exception in
NotifyBuilder causing our assertions to fail.
The error seems to be due to the fact that the Exchange created by the
component has fromEndPoint set to null.
In KafkaEndpoint.java
public Exchange createKafkaExchange(MessageAndMeta
Hi Stephen
When I use Document document = exchange.getIn().getBody(Document.class); i
see document object content as follows
[#document: null]
any additional changes that will fix this ?
--
View this message in context:
http://camel.465427.n5.nabble.com/Difficulty-in-extracting-data-from-CxfP
I'm struggling with a REST DSL. It handles a POST request for a file
upload, so the request body is binary type, and the response is JSON
describing the result. The container is Jetty.
My DSL looks like this:
rest("/rest/v1/datasets")
.post().description("Upload file to create new dataset")
.b
Hi
You need to use the camel-swagger as a servlet
http://camel.apache.org/swagger
How you configure this can be done with web.xml or some fancy @servlet
annotations.
The camel route can be in java dsl and camel-swagger servlet discovers
this using JMX - so they have to be in the same JVM, or bet
Can someone provide some info on how to get swagger set up with the REST
DSL in a simple jetty environment.
e.g. something very similar to what Christian described here:
http://blog.christianposta.com/camel/easy-rest-endpoints-with-apache-camel-2-14/
e.g. Java only, no Spring.
Thanks
Tim
Hi
The "dynamic to" in Camel is this FAQ / eip
http://camel.apache.org/how-to-use-a-dynamic-uri-in-to.html
You can also set a header to reuse, see section _Reuse endpoint and
send to different destinations computed at runtime_ at
http://camel.apache.org/jms
On Mon, Jun 22, 2015 at 4:02 PM, elric
I was indeed referring to the link. Sorry for the confusion.
Bart Horré
Anova r&d bvba
On Fri, Jun 19, 2015 at 7:40 PM, Ettoregia [via Camel] <
ml-node+s465427n5768421...@n5.nabble.com> wrote:
> Hi,
>
> unless you mean the link you posted in your first message, I don't seem to
> be able to find
Good day,
I am very new to Camel and ActiveMQ. I have configured two ActiveMQ
instances and would like to use Camel to forward queue messages from the one
instance to the other using the same queue names. I would like to configure
this using wildcards, basically something like:
from=ActiveMQ1:que
Hi,
We have a similar problem.
Did you find a solution?
Kind regards,
Joris
Hi Claus ,
Can u please add some example ,how we can configure inflightRepository and
how to access the class before shuttingdown the context .
Thanks
uday
--
View this message in context:
http://camel.465427.n5.nabble.com/DeadLetterQueue-Access-the-object-before-shutDown-tp5768069p57
Hi,
The error message indictes that you haven't passed a definition of the loc
namespace prefix to the XPath.
Aside from that your code is rather inefficient. You are first mashalling your
parsed XML document into a String, then instantiate a DOM parser to parse it as
a DOM and finally apply an
Thanks Claus, its indeed a more elegant way to do it! :)
Btw, I love your book, keep up the good work!
Gabor
--
View this message in context:
http://camel.465427.n5.nabble.com/Reliable-camel-routing-with-early-reply-and-transactions-tp5768420p5768459.html
Sent from the Camel - Users mailing l
Hi Siano, Thanks
I tried this code
String bodyStr = exchange.getIn().getBody(String.class);
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
DocumentBuilder builder;
builder = factory.newDocumentBuilder();
Document document = builder.parse(new InputSource(new
StringReader(
24 matches
Mail list logo