Lukasz, do you mind opening a jira with your findings?
Thanks, Hadrian
On 01/10/2012 06:36 PM, Łukasz Dywicki wrote:
Hey everyone,
I tried yo use camel-bam and it works for very basic example shown in
documentation. It works well for correlating the files without any middle
processing steps.
How did you send the message to the ActiveMQ?
Please make sure the MEP is InOut.
On Wed Jan 11 02:11:03 2012, mgiammarco wrote:
Ok I have tried but unfortunately reply is missing. Conversion to String
works:
[ #1 - JmsConsumer[queryServer]] pratobackend INFO
Exchange[ExchangePa
Hey everyone,
I tried yo use camel-bam and it works for very basic example shown in
documentation. It works well for correlating the files without any middle
processing steps.
The process I try to monitor looks following
- receive incoming JMS message - split - multicast (queue1, queue2)
So I'
Exactly.
I copy pasted the sniped from one of our routes which are more complex. But
as already mentioned, if you don't need any complex pre processing, your
valid route could also looks as below:
from("xxx")
.enrich("stringtemplate:XXX", aggregationStrategie)
.to("smtp:XXX"");
Best,
Christian
Good to know it works for you.
Have fun by riding the Camel,
Christian
On Tue, Jan 10, 2012 at 8:29 AM, xverges wrote:
> Thanks, Christian. That helped me.
>
> I made my life hard by doing some typos and by creating the bean after I
> tried to use it, but thinks work now.
>
> class="org.apach
Ok I have tried but unfortunately reply is missing. Conversion to String
works:
[ #1 - JmsConsumer[queryServer]] pratobackend INFO
Exchange[ExchangePattern:InOut, Headers:{JMSCorrelationID=null,
breadcrumbId=ID:virtual1.mariosoft.mio-54532-1326218763414-4:1:-1:1:1,
JMSPriority=4
Hello,
I want to create a custom component (Component, EndPoint, Consumer,
Producer..).
This component will create a FTP Route and it will have the control to start
and stop the FTP Route and the business logic too.
The first vesion of my component is a poll Consumer. This solution doesn't
like m
Hi,
Can you check if there is any other version of camel-core in your class
path ?
I just check the camel-core-2.9.0 jar , the Activator class was packed
in the directory of org.apache.camel.impl.osgi.
On Tue Jan 10 20:01:53 2012, iamniche wrote:
Hello,
Please could someone tell me how to
Can you try this ?
from("activemq:queryServer?exchangePattern=InOut")
.setExchangePattern(ExchangePattern.InOut)
.to("log:it.giammar.pratobackend?showHeaders=true").unmarshal()
.xstream().to("log:it.
On Tue, Jan 10, 2012 at 11:04 AM, Bilgin Ibryam wrote:
> Hi Nic
>
> On 9 January 2012 17:03, iamniche wrote:
>> Hello,
>>
>> I am using Camel successfully in my project, but have a question concerning
>> the FTP consumer, specifically, with regard to existing files in a watched
>> remote folder.
Hello,
Please could someone tell me how to solve this error message that occurs in
my JBoss server logs:
Failed to define class org.apache.camel.osgi.Activator in Module from
Service Module Loader: java.lang.LinkageError: Failed to link
org/apache/camel/osgi/Activator
Caused by: java.lang.ClassNo
Actually you can use "stringtemplate" or any other uri in "enrich".
But using "direct" helps to split the process in separate logical steps. You
can have "direct:generateEmailBody" and if you need to do anything else for
the step you can simply update the route.
--
View this message in context:
Hi Nic
On 9 January 2012 17:03, iamniche wrote:
> Hello,
>
> I am using Camel successfully in my project, but have a question concerning
> the FTP consumer, specifically, with regard to existing files in a watched
> remote folder.
>
> Is there any way of ignoring all files that 'pre-exist' on the
An easy way to achieve this is using
.setHeader("headername", xpath("//myelement"))
in your route. This way you can extract informations and add these as
headers to the camel message.
You can then call a bean and work with these headers.
You can also write your bean like
public class MyBean {
Thanks for fixing, I didn't try it out because I think I cannot use a
snapshot version. But I used enrich as you proposed so now I can send emails
with an attachment :). Is there a reason to use a "direct" endpoint in
between, instead of using the stringtemplate endpoint directly in the enrich
meth
15 matches
Mail list logo