On Fri, Jul 31, 2009 at 3:51 AM, Zhi Zhouzz.syb...@gmail.com wrote:
Ashwin,
Thank you very much for the reply.
My further comments below.
On Fri, Jul 31, 2009 at 3:29 AM, Ashwin Karpeaska...@progress.com wrote:
Hi,
There is no need for a fix. Please find the answers to your questions
Hi Claus,
Current camel support to define a producer template OUTSIDE a camel
context, I think it works well just like the autowire function which is
provided in Spring.
If there more than two Camel context in the Spring Application context ,
the user should specify the camel context which
On Mon, Aug 3, 2009 at 10:08 AM, Willem Jiangwillem.ji...@gmail.com wrote:
Hi Claus,
Current camel support to define a producer template OUTSIDE a camel context,
I think it works well just like the autowire function which is provided in
Spring.
If there more than two Camel context in the
Hi,
Is it possible to set the value of a header via the result of an xslt
transform eg)
.setHeader(INITIAL_DATA_HEADER, XsltBuilder.xslt(
new File(myXslt.xslt)))
Currently this doesn't not compile as setHeader expects String, String. I
tried using toString but that just
Here is the unit test:
*...@produce(uri = seda:foo)
protected ProducerTemplate producer;
@EndpointInject(uri = mock:result)
protected MockEndpoint mock;
*...@test
public void testReceiveGameStateUpdateMessage() throws Exception {
How do you set the routing rule?
Using the spring or Java DSL ?
Please make sure the mock url is right.
Willem
Mick Knutson wrote:
Here is the unit test:
*...@produce(uri = seda:foo)
protected ProducerTemplate producer;
@EndpointInject(uri = mock:result)
protected
When you use in XML document it has to be written as amp; as single
starts escape sequences in XML. The same goes to '' that is written
as lt; and to other special symbols.
Roman
2009/8/3 SoaMattH matt...@netpacket.com.au:
The #{} is my custom place holder configurer.
camel:endpoint
The #{} is my custom place holder configurer.
camel:endpoint id=incidentFileEndpoint
uri=file://#{omsws.incident.file.landingzone}/?preMoveNamePrefix=#{omsws.incident.file.processing}/moveNamePrefix=#{omsws.incident.file.processed}/;/
If I put a in as aseperator I get validation
Your right it should be:
camel:from ref=incidentFileEndpoint/camel:from
I have changed it from ure to ref,
However when I test a poorly formed XML file the unmarshal
throws an exception but the file ends up in the .camel/
processed directory rather than the deadletter/ directory?
Ny clues
Hi,
Yes i created a XsltToHeaderProcessor - If you like I can create a jira and
attach a patch if you think it would be useful for other people?
Thanks
Claus Ibsen-2 wrote:
XsltBuilder work on the exchange body only and as such it will affect
your body, and I assume this is not what you
On Mon, Aug 3, 2009 at 2:19 PM, SoaMattHmatt...@netpacket.com.au wrote:
Your right it should be:
camel:from ref=incidentFileEndpoint/camel:from
I have changed it from ure to ref,
However when I test a poorly formed XML file the unmarshal
throws an exception but the file ends up in the
On Mon, Aug 3, 2009 at 2:30 PM, jpcookjonathan.c...@erars.plus.com wrote:
Hi,
Yes i created a XsltToHeaderProcessor - If you like I can create a jira and
attach a patch if you think it would be useful for other people?
Great yeah that would be a nice addition.
And what is better than support
Claus,
Thanks for the reply. It is a valid charset name, but java6 has no
knowledge of it (yet). For example, on my linux box, it lives in
/usr/share/i18n/charmaps/ANSI_X3.110-1983.gz right alongside all the other
typical charsets.
The mail server is whatever google uses...imap.gmail.com is
I have tried all of the escaping of special characters that does not seem to
be the problem.
That was one of the very first things I did when I first wrote the end
Point.
The escaping is noise to the real problem!!
The problem is the documentation I have is not quite right .
page 301 of
Hi
Yeah the pdf was linking to the Camel 1.x file/ftp components.
Have changed that to link to Camel 2.x in the future.
The file/ftp components has been redone in Camel 2.0 so many options
is not the same.
Glad you got it sorted using the correct values.
On Mon, Aug 3, 2009 at 3:51 PM,
Hi,
I am trying to cascade a bean and a splitter like (java DSL):
from(file:src/data?noop=true).bean(new
IncomingMessageValidator()).
split().method(splitter, splitBody).
to(direct:test);
It complains that method to(String) is undefined for object. What
On Mon, Aug 3, 2009 at 4:58 PM, Bak Attilabakattil...@gmail.com wrote:
Hi,
I am trying to cascade a bean and a splitter like (java DSL):
from(file:src/data?noop=true).bean(new
IncomingMessageValidator()).
split().method(splitter, splitBody).
Thanks for the fast reply.
Unfortunately i cannot find the method you suggest... Can you help?
Or would the following be equivalent to the previous?:
from(file:src/data?noop=true).bean(new
IncomingMessageValidator()).to(direct:in);
Hi,
I am trying to write code which will consume a message and do the insert in
database.
I want to use global transactions and two-phase-commit.
I got always the same error: cannot commit in global transaction.
Can somebody tell me what am i doing wrong here:
this is my spring xml:
?xml
Hi
Ah there is a bit of confusing as its called method in the expressions.
But its a bean when you use the builders.
from(direct:in).split(bean(splitter, splitBody)).
to(direct:test);
On Mon, Aug 3, 2009 at 5:42 PM, Bak Attilabakattil...@gmail.com wrote:
Thanks for
using Apache Camel (2.0M3) and Spring,
route
from
uri=file:C:\test\trigger?initialDelay=1000amp;delay=500amp;useFixedDelay=falseamp;recursive=falseamp;delete=falseamp;noop=falseamp;move=.doneamp;idempotent=falseamp;readLock=noneamp;readLockTimeout=0amp;autoCreate=trueamp;flatten=false/
Seems I can't attach images over 11k as I get bounced back for spam.
OK:
As I start digging more, I start wondering if I will need a durable queue
for each subscriber as depicted the new diagram here?
I have a url to the image I wanted to attach:
http://baselogic.com/temp/wd.png
---
Thank
Hello,
I am trying to run this very simple route:
=
//...
@Override
public void configure() throws Exception {
from(jms:queue:myQueue?mapJmsMessage=false)
.to(stream:out);
}
//...
=
I have seen a FUSE posting showing:
*
from(activemq:topic:VirtualTopic.topic).to(activemq:Consumer.example.VirtualTopic.topic);
With the following added to the activemq.xml configuration file:
lt;broker xmlns=http://activemq.apache.org/schema/coregt;
virtualDestinationInterceptor
Hi,
You can take a look at the camel-jms's unit test[1] for starting the
activeMQ server.
For the multiple client , maybe you need to create some listener with
separated thread to check the status message.
[1]
Hi,
Is there an option for camel to failover after a certain number of times
that an exception occurs.
Camel has failover for different types of exceptions,
from(activemq:ab).failover(IOException.class).to(x, y,z);
can i specify the failover to occur this number of times before moving to y
for
On Mon, Aug 3, 2009 at 10:39 PM, Carlo Camerinocarlo.camer...@gmail.com wrote:
Hi,
Is there an option for camel to failover after a certain number of times
that an exception occurs.
Camel has failover for different types of exceptions,
from(activemq:ab).failover(IOException.class).to(x,
Hi
Mind the SNAPSHOTS at Apache isnt always up to date with the latest
and greatest code changes.
And you need to use upgrade all .jars to -SNAPSHOT and not only camel-core etc.
On Tue, Aug 4, 2009 at 7:38 AM, Claus Ibsenclaus.ib...@gmail.com wrote:
Hi
It was added after 2.0m3 was released.
On Mon, Aug 3, 2009 at 7:51 PM, ariablu962...@gmail.com wrote:
using Apache Camel (2.0M3) and Spring,
route
from
29 matches
Mail list logo