Hello,
I'm trying to add some ancillary information to an Exchange getting picked
up from a dead message queue for retries. I'm
basically trying to add a retry count so after a certain amount of pickups
from the dead queue the message is forwarded to
a final queue and remains there for manual insp
Hi
I need some help converting some java DSL code to spring DSL
java code:
from(EndPointHelper.getURI("ComponentXTopic") + "&selector=COMPID='" +
PropertiesProvider.GetCompId() + "'") //
...
.onRedelivery(new RedeliveryProcessor())//
...
.end();
Thanks
Jacob
--
View this message in context:
h
Is is clear what I said??
--
View this message in context:
http://camel.465427.n5.nabble.com/Synchronize-the-polling-consumer-with-a-route-tp3396847p3400108.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi,
I'd like to do some basic test for a route.
I have a REST service, configured as :
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:cxf="http://camel.apache.org/schema/cxf";
xmlns:jaxrs="http://cxf.apache.org/jaxr
Exchange.setProperty() expects an Object. Perhaps box your
retry_count in an Integer?
On Fri, Feb 25, 2011 at 3:43 AM, Yiannis Mavroukakis
wrote:
> Hello,
>
> I'm trying to add some ancillary information to an Exchange getting picked
> up from a dead message queue for retries. I'm
> basically tr
Hi Donald,
It is already an Integer object and should be getting autoboxed anyway on
++, otherwise the code wouldn't compile in the first place,
unless of course the semantics of prepending the ++ operator on a boxed
primitive are acting a bit weird..
On 25 February 2011 15:16, Donald Whytock w
Hi,
I am trying to set the result of an xpath expression evaluation in the
header and it is failing:
from("jms:topic:someTopic")
.setHeader("abc", xpath("/c:msg@event", String.class, ns))
Getting this error:
The method xpath(String) in the type BuilderSupport is not applicable fo
Is this related to the asynchronous routing engine for jms producer
introduced in camel 2.5? As it relates to exceptions "thrown" from that
producer? You might try the test again disabling the asynchronous engine
for the jms producer ( set ?synchronous=true) to see if the result changes.
Just
I have a route that looks like this:
http://camel.apache.org/schema/spring";>
(As you can tell, I'm deploying this in ServiceMix, but the issue I'm having is
in the Camel realm, thus my posting here...)
I have defined outEndpoint earlier in the camel-context.xml file
Hi,
I'm new to Camel. My need is to collect new information from an existing
DataBase. My cursor is quite easy to manage (based on a timestamp) so I need
to regularly check for new entries every minute by doing this query: "Select
* From Table Where DTEVENT > LastManagedEntryDT".
Ideally I'd lik
Can you try:
.setHeader("abc", XPathBuilder.xpath("/c:msg@event",
String.class).namespace(ns))
Regards,
Ngoc Hai
--- On Fri, 2/25/11, bigbear wrote:
> From: bigbear
> Subject: xpath and header
> To: users@camel.apache.org
> Date: Friday, February 25, 2011, 11:27 PM
> Hi,
>
> I am trying to s
Hi
Are you posting from Nabble?
If so check this page
http://camel.apache.org/discussion-forums.html
Sometimes Nabble don't forward the mails to the real mailinglist, and
thus we don't see what you write.
On Fri, Feb 25, 2011 at 2:24 PM, JohnLance
wrote:
>
> Is is clear what I said??
> --
> Vi
Hi
So where is your problem with the XML DSL?
For the onRedelivery you must use define the RedeliveryProcessor as a bean
And then refer to xxx.
On Fri, Feb 25, 2011 at 2:06 PM, JacobS wrote:
>
> Hi
> I need some help converting some java DSL code to spring DSL
>
> java code:
>
> from(EndPoi
After looking at this a bit more (and upgrading to the 4.3.1-fuse-00-00 version
of ServiceMix, which contains Camel 2.6.0), it seems the problem boils down to
Camel not knowing how to convert a GenericFile (what results from the
part of the route) to a CxfPayload (what is expected by the part
Hi
What does your file contain?
Often people use either POJO or MESSAGE format. So there could be a
converter to/from CxfPayload missing. Especially for String, byte[],
streams which is common types.
On Sat, Feb 26, 2011 at 7:53 AM, Scott Came wrote:
> After looking at this a bit more (and u
Hi
You should test the route in the XML file and therefore not add routes
in Java DSL as well.
Just use the producer template from the unit test method to send a
message to the CXFRS service.
And then assert the reply is as expected.
On Fri, Feb 25, 2011 at 2:36 PM, bdusauso wrote:
>
> Hi,
>
>
Hi
I suggest to take this up with the TX manger you use. There may be a
bug/issue with it.
And you can try a TX manager from another vendor to see if that helps.
On Mon, Feb 21, 2011 at 6:22 PM, Greenbean wrote:
>
> I am using Camel 2.4.0, ActiveMQ 5.3, Java 6u23, Spring 3.0.3. I am having a
>
17 matches
Mail list logo