Hi,
I just modified the test so that it better fits into your given use-case,
e.g. now also the "from clause" contains a placeholder (as in your case):
Test:
https://github.com/apache/camel/blob/master/components/camel-spring/src/test/java/org/apache/camel/component/properties/CamelSpringProperty
Hi,
In the case that I configure in my front end apache server all the
vhosts,and those vhosts run on back end servers,then on those back end
servers also is need apache to run or not?
Could I configure the front end apache server in HA in this design?
tnx a lot,
marius
--
View this messa
Hi
I think you are posting to the wrong user mailing lists.
This is about Apache Camel (Java integration software)
http://camel.apache.org/
And not the Apache HTTP server, which you likely are asking about
http://httpd.apache.org/
On Thu, Oct 3, 2013 at 9:02 AM, tanislavm wrote:
> Hi,
>
>
> I
Looked at IdempotentConsumer implementation and it looks like it needs an
IdempotentRepository that uses a String value as the idempotent key; see
line 45:
private final IdempotentRepository idempotentRepository;
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.camel/camel-core/2.10.6/o
Sounds a bit like you are aggregating the 2 ftp files into a single message.
There is an EIP for that
http://camel.apache.org/aggregator2
On Wed, Oct 2, 2013 at 6:54 PM, Zulio84 wrote:
> Hello everybody,
>
> I'm trying to achieve the following scenario:
>
> 1. read a file using the FTP compone
Hi
I dont see this. Can you post links and where on the page you see
something about SVN.
On Wed, Oct 2, 2013 at 5:21 PM, Dale King wrote:
> The developer's guide still has lots of references to SVN, which no longer
> apply now that Camel is on git. Since you depend so heavily on others for
>
Hi
See
https://issues.apache.org/jira/browse/CAMEL-5881
On Wed, Oct 2, 2013 at 10:08 AM, tero wrote:
> Hello,
>
> I am having troubles with the char encoding, sending data to a FTP server:
> the special chars like "ä" and similar are encoded wrong (e.g.: Südafrika ->
> Südafrika), even if I spe
Best way James excepted for Camel Tx Route as we depend on Spring and
blueprint can be used until now ;-)
On Mon, Sep 30, 2013 at 1:53 PM, James Carman wrote:
> You should really consider using camel-blueprint. This is the best
> way to use Camel in an OSGi environment. You will run into quite
You depend on Spring APIs, not the container. The Aries transaction
manager implements PlatformTransactionManager, allowing you to use
transactions in OSGi without running in a Spring container.
On Thursday, October 3, 2013, Charles Moulliard wrote:
> Best way James excepted for Camel Tx Route a
You are right but camel blueprint schema does not support TxErrorHandler
attribute
http://camel.apache.org/schema/blueprint/camel-blueprint.xsd
On Thu, Oct 3, 2013 at 12:51 PM, James Carman wrote:
> You depend on Spring APIs, not the container. The Aries transaction
> manager implemen
L.S.,
I was wondering why RemoteFileProducer logs a warning in the
handleFailedWrite instead of throwing an exception.
In my case I have route that uploads to an FTP.
Apperently some files didn't make it to the FTP but I did not know about
that because those files where never error handled.
Afte
Sorry, it's the contributing link, not the developer's guide
On Oct 3, 2013 5:15 AM, "Claus Ibsen" wrote:
> Hi
>
> I dont see this. Can you post links and where on the page you see
> something about SVN.
>
> On Wed, Oct 2, 2013 at 5:21 PM, Dale King wrote:
> > The developer's guide still has lot
Hi everybody,
I am trying to use the facebook component in camel 2.12.1 to perform FQL
queries.
It works nice by calling the endpoint with options from the endpoint URI
(oAuthAppId, oAuthAppSecret, query).
However, when I use a bean for endpoint configuration (oAuthAppId,
oAuthAppSecret) and a he
Hi,
I have a cluster of brokers and have noticed some problems during failover
situations that I¹m uncertain how to handle.
I use request/reply with the default temporary queue mechanism provided by
camel:
producerTemplate.requestBody(myMessage);
Under certain conditions this seems to be disp
The producer should thrown an exception, but it could be that your
consumer logs it at WARN level which they do by default, eg if you do
a
from file
to ftp
Though if you have any kind of exception handling to do redelivery or
other kind then the ftp producer throws an exception for them to reac
Thank's for the hint Claus! It's works for me!
Here is the code maybe it serves to someone else:
>From my context.xml
${file:name.noext}
${headers.CamelFileNameOnly} not contains '.suffix'
I'm thinking that perhaps I could read the topic with the polling pattern,
and when it returns null, end the route then schedule a new iteration of the
route. Would this work? Can it be done from XML? I can't find an example
of using polling from XML.
--
View this message in context:
http://c
Guys
With a route as below
from("file:fname.txt").to("sjms:queue:qname")
we get an error because the Jms message type is of type Message.
The issue seems to be in JmsMessageHelper.discoverMessageTypeFromPayload.
GenericFile is the payload object which is not serializable itself. sjms has
this li
Hi
Yeah we should have that out of the box, like camel-jms.
You are welcome to log a JIRA ticket
You can convert the body before sending to JMS.
.convertBodyTo(String.class)
to use javax.jms.TextMessage
or
.convertBodyTo(FileInputStream.class)
to be byte based.
On Thu, Oct 3, 2013 at 4:58
Any ideas? Any advice? Do I need to add more information? Wrong place to
post? Any feedback would be appreciated.
--
View this message in context:
http://camel.465427.n5.nabble.com/Issue-with-Transactions-and-Split-tp5738618p5740825.html
Sent from the Camel - Users mailing list archive at N
Hi,
it might be me, but I think your 2nd route is missing a to-element.
You need to do something with message like drop it to a file or at least
log it.
Otherwise, like others have pointed out, using beans as payload is bad
practice
in integration applications. However, you seem to be happy
That second route with no "to" is "stealing" your messages, I'd guess.
I am actually surprised you're able to create a route with no "to."
I'm curious to play with that phenomenon in a test case.
On Thu, Oct 3, 2013 at 11:36 AM, Andreas Gies wrote:
> Hi,
>
> it might be me, but I think your 2nd
There has been some fixes/improvements in camel-jms. Such as
https://issues.apache.org/jira/browse/CAMEL-5865
So you can try upgrading your Camel version
On Thu, Oct 3, 2013 at 2:37 PM, Jack Perrett wrote:
> Hi,
>
> I have a cluster of brokers and have noticed some problems during failover
> sit
Thanks Claus. That looks exactly like what I’ve been seeing.
I’ll upgrade and see if that makes a difference.
On 03/10/2013 17:17, "Claus Ibsen" wrote:
>There has been some fixes/improvements in camel-jms. Such as
>https://issues.apache.org/jira/browse/CAMEL-5865
>
>So you can try upgrading yo
Not sure if they are sending worldwide, only in Europe or only in Germany ;)
PosterXXL.de provides printing posters for less money:
80x60cm 18,99 €
120x60cm 23,99 €
I haven't used that service, but maybe others?
I don't also know if you could create a "shop" selling a predefined poster.
Jan
>
Emilien, could you please open a JIRA and attach your patch.
We are happy to review and may apply it.
Best,
Christian
Am 03.10.2013 14:35 schrieb "Emilien" :
> Hi everybody,
>
> I am trying to use the facebook component in camel 2.12.1 to perform FQL
> queries.
> It works nice by calling the endp
Maybe
from
bean
is a valid route...
Best,
Christian
Am 03.10.2013 17:46 schrieb "James Carman" :
> That second route with no "to" is "stealing" your messages, I'd guess.
> I am actually surprised you're able to create a route with no "to."
> I'm curious to play with that phenomenon in a test
Robert,
Many thanks for this fantastic contribution to the Camel community! I did
vote for another design but I liked this one too ;-)
Given that the Camel component catalogue is ever expanding, it would be a
good idea to include the Camel version line that the poster applies to. I
guess it's too
Are you sure? I thought "bean" was only a producer (or processor).
Anyway, the use case seems kind of silly and probably will lead to
mysterious things going on (like jms messages being stolen ;)
On Thu, Oct 3, 2013 at 5:44 PM, Christian Müller
wrote:
> Maybe
> from
> bean
>
> is a valid rout
You might want to run that thing by the trademarks folks if you're
going to be "selling" it or having folks print it. You might need to
have it say "Apache Camel".
On Thu, Oct 3, 2013 at 5:55 PM, Raul Kripalani wrote:
> Robert,
>
> Many thanks for this fantastic contribution to the Camel communi
Looks like Zazzle is in the $10 range. Haven't used them...
http://www.zazzle.com/custom/posters
On Thu, Oct 3, 2013 at 6:01 PM, James Carman wrote:
> You might want to run that thing by the trademarks folks if you're
> going to be "selling" it or having folks print it. You might need to
> ha
Robert,
I'd hang on a bit before you start printing these things off. We may
need to get permission to do so first
(http://www.apache.org/foundation/marks/#guidelines). Okay? Thank
you for the hard work and time you've put into this thing, though!
Let's just make sure it's legit before we start
So why not use the for loop to create as many routes as you want? I use
that method frequently.
*Robert Simmons Jr. MSc. - Lead Java Architect @ EA*
*Author of: Hardcore Java (2003) and Maintainable Java (2012)*
*LinkedIn: **http://www.linkedin.com/pub/robert-simmons/40/852/a39*
On Wed, Oct 2, 2
The aggregated exchange is the one that gets returned and how the
aggregated exchange is created depends on the aggregation strategy you use.
When a route stops either by calling stop or merely not routing anymore,
the exchange on the last part of the route could be considered a reply. In
most case
Weird, but call a processor with Thread.sleep() in the process method?
Out of curiosity, why would you want to introduce this delay? I would just
build the delay into the start of the route using quartz component:
http://camel.apache.org/quartz.html
*Robert Simmons Jr. MSc. - Lead Java Architec
You do know that JMS only accepts certain types right? Anything it doesn't
understand, like your POJO, will get dropped on the floor. If you serialize
your object to JSON before writing to the queue and then back from JSON
when reading, it should work fine.
*Robert Simmons Jr. MSc. - Lead Java Arc
Great !! Thanks a lot for explaining this in detail.
My bad. For some reason I felt that the route is not complete and that the
compiler would complain without a "to". I removed that "to" now and this is
exactly what I need.
Thank a lot to everybody else for taking the time to make this cl
Serializable objects will be sent using a JMS ObjectMessage, not dropped on
the floor. No need for JSON serialization. That doesn't mean I don't
agree with you that an alternate serialized form should be used (see
previous comments).
On Friday, October 4, 2013, kraythe . wrote:
> You do know th
Hi all,
I'm using camel-spring-batch and have the following route in the my context
file:
uri="file:{{batch.process.watch.directory}}?include={{transaction.file.name.pattern}}&delay={{transaction.file.poll.delay}}&doneFileName=${file:name}.sig&move={{batch.process.done.directory}}&moveFailed={{b
Posters now start at $13.00:
http://fineartamerica.com/featured/the-camel-components-poster-robert-liguori.html
-- Robert
--
View this message in context:
http://camel.465427.n5.nabble.com/The-Camel-Components-Poster-PDF-FREE-tp5740752p5740836.html
Sent from the Camel - Users mailing list arch
Hi James,
I looked at the cover of the "Camel in Action" book and "Apache" is not
mentioned anywhere:
http://www.amazon.com/Camel-Action-Claus-Ibsen/dp/1935182366/ref=sr_1_1?ie=UTF8&qid=1380838736&sr=8-1&keywords=camel+in+action
So, I figured that the approach I took with the title of the poster
Small typo/clarification: This was working on Camel 2.10.3 version.
It was NOT working from 2.11.0 and 2.12.1.
And in 2.12.1 the value for doneFileName got replaced as "name"
Best Regards,
--
View this message in context:
http://camel.465427.n5.nabble.com/doneFileName-file-name-in-Camel-2
Since I will be doing updates to this poster, if anyone else sees any issues
on it, please let me know...
For example,
--> Are there missing components?
--> Did I group the components improperly, if so, how can I improve the
groupings?
--> Are any of the descriptions incomplete or poorly worded?
Hi ,
I have two operations at one endpoint and have configured the routes using
RouteBuilder. Irrespective of the operation called from SOAP UI, (inspite of
setting the operationName in the header explicitly), the request is always
being routed to one operation. Not sure how the operationName is
Use
doneFileName=$simple{file:name}
To not have spring property placeholder replace this value.
On Thu, Oct 3, 2013 at 11:39 PM, nguyen wrote:
> Hi all,
>
> I'm using camel-spring-batch and have the following route in the my context
> file:
>
> uri="file:{{batch.process.watch.directory}}?inclu
45 matches
Mail list logo