Hi,
I think your "bar" header isn't set or I don't understand what you want to do.
When you read a file from the file component of Camel, Camel won't set a "bar"
header for you.
The camel file component will set some header but not the "bar" one.
Arnaud Deprez
-Original Message-
From
Hi,
It's probably due to a transaction problem :
In your case, when you read a message, your consumer need to keep open the
current transaction during your process and at the end you can commit if
everything goes well (so the message will be popped from the queue) or rollback
(so the message w
I don't see where you call the method sendTo(...).
If you don't call it, Camel will put the Exchange ID as the name of your file.
Arnaud Deprez
Analyst-Programmer
Acquiring Back-Office
+32 2 727 72 09
arnaud.dep...@atos.net
Chaussee de Haecht 1442 Haachtsesteenweg
1130 Brussels
Belgium
atosworldl
Yes JAXB is namespace aware.
So your model classes (and so your xsd because you generated your model classes
from your xsd), must have the same namespaces.
If you don't find any solution, please provide us an xml sample and your xsd.
KR,
Arnaud Deprez
Analyst-Programmer
Acquiring Back-Office
, Jul 26, 2012 at 3:55 PM, DEPREZ Arnaud AWL-IT <
arnaud.dep...@atos.net> wrote:
> Sorry, for this mail !
>
> It was a very bad code that send this message "com.awl.acq.wlsi.sips.xsd"
> doesnt contain ObjectFactory.class or jaxb.index to validate with a xsd.
>
> KR
Sorry, for this mail !
It was a very bad code that send this message "com.awl.acq.wlsi.sips.xsd"
doesnt contain ObjectFactory.class or jaxb.index to validate with a xsd.
KR,
Arnaud Deprez
-Original Message-----
From: DEPREZ Arnaud AWL-IT [mailto:arnaud.dep...@atos.net]
Sent
Hi all,
I'm very surprised with this strange behavior.
I'm using Camel 2.6.0-fuse-02-05 with Servicemix 4.3.1-fuse02-05.
When I try to validate an xml file with the endpoint :
validator:file:path_to_the_file, I get the following exception :
14:11:49,633 | ERROR | 82 - org.apache.camel.camel-cor
Thanks, I solve the problem.
It was a conflict with another dependency :
org.apache.openejb
openejb-core-osgi
3.1.4
KR,
Arnaud Deprez
-Original Message-
From: Henryk Konsek [mailto:hekon...@gmail.com]
Sent: mercredi 30 mai 2012 14:26
To: users@camel.apache.org
Su
: CronScheduledRoutePolicy in JUnit test
Camel 2.6.0 use Quartz 1.8.4. Try this version.
You do not have to define this dependency by the way...
https://svn.apache.org/repos/asf/camel/tags/camel-2.6.0/parent/pom.xml
Best,
Christian
Sent from a mobile device
Am 30.05.2012 12:27 schrieb "DEPREZ Arnaud A
Hi all,
I would like to test my CronScheduledRoutePolicy in my JUnit test using
org.apache.camel.test.junit4.CamelSpringTestSupport.
When I try to run my test, I get the following exception :
java.lang.NoSuchMethodError: org.quartz.Scheduler.isStarted()Z
at
org.apache.camel.com
Hi everyone,
I use the Geronimo TransactionManager with
org.jencks.amqpool.XaPooledConnectionFactory for ActiveMQ and OpenJPA for a
database.
Everything is configured with spring.
I've done a simple test that take a message from a queue ("input queue"),
persist it in a database and then send t
Hi all,
I use ServiceMix 4.3.1 with the felix framework.
I would like to use the JTA TransactionManager from Geronimo with hibernate.
Regarding to the documentation, it seems that we have to redefine our own
TransactionManagerLookup class in order to tell to hibernate how to get the
right Trans
list of dependencies you use ? Or the features ?
Arnaud Deprez
please don't print unless you really need to
-Original Message-
From: DEPREZ Arnaud AWL-IT
Sent: jeudi 19 avril 2012 14:24
To: users@camel.apache.org
Subject: RE: OSGI Transaction Propagation to Camel Route
Hi
Hi Chris,
Concerning your question, I don't really understand the meaning.
Can you give me more details ?
By the way, does anybody have an idea about when the 5.6 official release comes
out ?
Actually, I get exactly the same problem with the XA transactionManager from
Aries and ActiveMQ and I d
ODUCTPRICEOFFERS+Constants.LOG_CORRELATIONID);
--cheers,
atg roxx
On Fri, Apr 13, 2012 at 12:20 PM, DEPREZ Arnaud AWL-IT <
arnaud.dep...@atos.net> wrote:
> Maybe it's a problem of namespaces.
>
> Can you tell me if you use different namespaces for GetProductPriceOffers
> an
Maybe it's a problem of namespaces.
Can you tell me if you use different namespaces for GetProductPriceOffers and
partner/request element ?
If they are different, it must be specified in your JAXB java class model.
KR,
Arnaud Deprez
-Original Message-
From: Christian Müller [mailto:ch
e solution, if I finished it. May I can contribute some
general solution back to Apache.
Best,
Christian
On Thu, Apr 12, 2012 at 5:02 PM, Claus Ibsen wrote:
> On Thu, Apr 12, 2012 at 4:37 PM, DEPREZ Arnaud AWL-IT
> wrote:
> > Thanks for your answer but I already have looked
To: users@camel.apache.org
Subject: Re: How to suspend/resume a route dynamically by programmation ?
Hi
Have a look at http://camel.apache.org/polling-consumer.html. I think
you can solve your problem with a consumer that polls all 30 minutes
for a file.
Stefan
On Thu, Apr 12, 2012 at 11:09, DEP
Hi everyone,
I would like to know if there is a way to suspend/resume dynamically by
programmation.
For example,
When I receive a batch file (containing many records), I must process another
file 30 minutes later.
So in the beginning, my idea was :
When I received the first file, I will ask to
19 matches
Mail list logo