Hi
I created an unit test based on our routes and it works fine
http://svn.apache.org/viewvc?rev=1099342&view=rev
On Tue, May 3, 2011 at 10:23 AM, Muhammad Ichsan wrote:
> Dear All,
>
> Is it possible to use inOut in routingSlip? In the following context,
> the destination is visited asynchrono
I didn't mention it but, obviously, while Thread.sleep(5000), I re-past files
to from dir! So there are the same files again.
--
View this message in context:
http://camel.465427.n5.nabble.com/file-consumer-problem-tp4367294p4369181.html
Sent from the Camel - Users mailing list archive at Nabble.
I am using cxf component to proxy one webservce to another.
The route's logical is very simple: receiving the soap-xml, transform the
soap xml element(if the wsdls of two webservice are not exactly same), then
send the transformed xml to another webservice;
But unfortunately in camel, this is n
2011/5/4 Claus Ibsen :
> Hi
>
> I created an unit test based on our routes and it works fine
> http://svn.apache.org/viewvc?rev=1099342&view=rev
So, why it's not working with Spring? Is it Camel's bug related to Spring?
--
~The best men are men who benefit to others
http://michsan.web.id 一緒に勉強し
Hi,
On 5/4/11 4:11 PM, ext2 wrote:
I am using cxf component to proxy one webservce to another.
The route's logical is very simple: receiving the soap-xml, transform the
soap xml element(if the wsdls of two webservice are not exactly same), then
send the transformed xml to another webservice;
Dear All
I found another problem in Camel. Given context file (the java bean
code is self-explainable):
This makes sense, Don.
I can simply have the service provider create the route in the camel context
and attempt to use the bundle scope to get a new service provider instance
for each consumer. Each provider can edit it's own route at runtime and each
provider will be consumed by only one consumer
Hi
Its a bit hard to follow your question?
Concurrency all starts with consumers. So if you have a single thread
that sends a message to "direct:casemx" then there is only a single
thread processing in that given route.
You can use a JDK thread pool executor to send concurrent messages to
the "d
Hi Ichsan,
if you turn on tracing () you can see the
threads. What do you mean by "concurrently"? If I see this correct,
you're refering to a Spring bean. This is per default a singleton. So
you should have only one instance of mocky...
Best regards - Claus
On 04.05.2011 13:02, Muhammad Ich
2011/5/4 Claus Ibsen :
> Hi
>
> Its a bit hard to follow your question?
>
> Concurrency all starts with consumers. So if you have a single thread
> that sends a message to "direct:casemx" then there is only a single
> thread processing in that given route.
This is how I send the message:
On Wed, May 4, 2011 at 6:27 PM, Muhammad Ichsan wrote:
> 2011/5/4 Claus Ibsen :
>> Hi
>>
It's still in sequence manner, even for this code:
ExecutorService executor = Executors.newFixedThreadPool(10);
// When: 18 messages are sent
for (int i = 0; i < messageAmou
Read the documentation
See request/reply over JMS
http://camel.apache.org/jms
On Wed, May 4, 2011 at 2:21 PM, Muhammad Ichsan wrote:
> On Wed, May 4, 2011 at 6:27 PM, Muhammad Ichsan wrote:
>> 2011/5/4 Claus Ibsen :
>>> Hi
>>>
>
>
> It's still in sequence manner, even for this code:
>
> Executo
On Wed, May 4, 2011 at 7:26 PM, Claus Ibsen wrote:
> Read the documentation
>
> See request/reply over JMS
> http://camel.apache.org/jms
Thank you so much Claus! This is what I've been looking for.
from(xxx)
.inOut().to("activemq:queue:foo")
.threads(5)
.to(yyy)
.to(zzz);
I'll try this
--
~Th
Hi Claus,
Thanks for your reply!
So my same question again: for the sake of avoiding the spring's warning
mentioned already, would the following change on
'org.apache.camel.component.jms.JmsMessageListenerContainer' constructor
make sense to you:
public JmsMessageListenerContainer(JmsEndpoin
On Wed, May 4, 2011 at 3:54 PM, bvahdat wrote:
> Hi Claus,
>
> Thanks for your reply!
>
> So my same question again: for the sake of avoiding the spring's warning
> mentioned already, would the following change on
> 'org.apache.camel.component.jms.JmsMessageListenerContainer' constructor
> make se
Hello,
I'm pretty new to camel but I would really like to learn more about it. I
just ran into a small problem:
I'm trying to deploy a camel-activemq project in Karaf.
The camel-dependencies install just fine, like written in the documentation,
as does activemq(-spring).
The problem is: Is ther
Hello All,
I added WS Addressing to a CXF endpoint. I did it up by updating the CXF
endpoint like this:
Initially I was fooling around with the CXF bus and referencing that on an
endpoint but the above method worked well. Can I update the WIK
A design question regarding the mail component...
When I tried using the mail component with POP3, I had a problem with
deleting messages. Depending on the server I was talking to, I had
either inconsistent and sporadic success, or consistent lack of
success.
I think I see what might be the prob
On Wed, May 4, 2011 at 10:25 AM, Muhammad Ichsan wrote:
> 2011/5/4 Claus Ibsen :
>> Hi
>>
>> I created an unit test based on our routes and it works fine
>> http://svn.apache.org/viewvc?rev=1099342&view=rev
>
> So, why it's not working with Spring? Is it Camel's bug related to Spring?
>
Works fin
Hi,
just a stupid question but why the camel used for the camel logo has
only one hump?
- Romain
Excellent remark: There should be 2 humps as a Camel is not a Dromedary ;-)
On Wed, May 4, 2011 at 5:38 PM, Romain Manni-Bucau
wrote:
> Hi,
>
> just a stupid question but why the camel used for the camel logo has
> only one hump?
>
> - Romain
>
But a dromedary is a camel. Though Apache Dromedary is kinda long...
On Wed, May 4, 2011 at 11:42 AM, Charles Moulliard wrote:
> Excellent remark: There should be 2 humps as a Camel is not a Dromedary ;-)
>
> On Wed, May 4, 2011 at 5:38 PM, Romain Manni-Bucau
> wrote:
>> Hi,
>>
>> just a stupid
You are right. A dromedary is one of the camel species like bactrian camel,
http://www.desertusa.com/animals/camel.html
On Wed, May 4, 2011 at 5:43 PM, Donald Whytock wrote:
> But a dromedary is a camel. Though Apache Dromedary is kinda long...
>
> On Wed, May 4, 2011 at 11:42 AM, Charles
last I checked, these features were required in
org.apache.felix.karaf.features.cfg to get camel/activemq bundles
deployed...
featuresBoot=activemq,camel,camel-jms,camel-activemq
On Wed, May 4, 2011 at 7:16 AM, chris.koester <
christopher.koes...@catify.com> wrote:
> Hello,
>
> I'm pretty new t
ok, thanks for these answers.
camel sounds good (even if in the family it should maybe be a turkoman
to show it is a kind of aggregation of things)
- Romain
2011/5/4 Charles Moulliard :
> You are right. A dromedary is one of the camel species like bactrian camel,
>
>
> http://www.desertusa
Perhaps the one-hump camel was used in version 1.*. Maybe for version
2.* there should be a two-hump camel?
You could add a hump for each major release, stretching it out like
those stretch-humvee limos I see on the roads...
On Wed, May 4, 2011 at 12:01 PM, Romain Manni-Bucau
wrote:
> ok, thank
And if we don't have enough hamps after camel 4, 5.x we could use the
udders
On Wed, May 4, 2011 at 6:14 PM, Donald Whytock wrote:
> Perhaps the one-hump camel was used in version 1.*. Maybe for version
> 2.* there should be a two-hump camel?
>
> You could add a hump for each major release,
LOL.
On May 4, 2011, at 12:14 PM, Donald Whytock wrote:
> Perhaps the one-hump camel was used in version 1.*. Maybe for version
> 2.* there should be a two-hump camel?
>
> You could add a hump for each major release, stretching it out like
> those stretch-humvee limos I see on the roads...
>
Hello,
i have a strange behaviour when I try to consume files from a directory
several times.
I want to copy files to a directory and in a second time, I want to move
these files in another directory.
If I do it one time, everything is fine. But if a execute this a second time
following the first
It won't resume where it left off by default. Camel will only delete the
file if it was successfully processed and when it fails, the portion already
send to AMQ will not be rolled back. When the process resumes, it will
process the entire file again. One option is to use the file's moveFailed
o
I have some general question about Camel and Jetty integration.
First, given that the jetty: Camel Component creates an embedded Jetty
server, is it assumed that this component would never be used within a web
app? Or am I missing something?
Second, I noticed that JettyHttpComponent manages a Map
Hi all,
do you have any informations about a gui for camel or a route diagram
generator? I know fuse did some work around the eclipse framework but
will it be integrated into the community version?
- Romain
I researched this a while back and it I think the Camel approach to
communicating between bundles was to use JMS, NMR or WebServices (instead of
sharing the camel context). The pure OSGi way is to use the service
registry or manifest import/export package statements.
Anyways, I wrote this
http:/
An upgrade to version 2.2.12 corrected the exception, but brought up another
one...
I am calling a one-way service but a response is being sent back. For
example:
http://www.w3.org/2003/05/soap-envelope";>
http://www.w3.org/2005/08/addressing";>urn:uuid:b8d0a8ca-ada1-4840-8722-a4859144
Hi Romain,
There is no opensource camel IDE (http://camel.apache.org/is-there-an-ide.html)
.The Fuse IDE tool of FuseSource will not be integrated into the
Apache Community.
Regards,
Charles
On Wed, May 4, 2011 at 10:39 PM, Romain Manni-Bucau
wrote:
> Hi all,
>
> do you have any informations
Hi
1)
At Apache Camel there is a maven tool to generate a visualization of
the routes based on a Camel project
http://camel.apache.org/visualisation.html
However its not a GUI tooling, only a kind of report generator. Also
there could be some EIP patterns it cannot draw correctly.
But patches is
Hi
A good approach could be to design your applications to detect
duplicate messages.
See the idempotent consumer.
http://camel.apache.org/idempotent-consumer.html
That is much easier than trying to have a high QoS of delivering a
message exactly once.
That is frankly very hard as you need tight
On Wed, May 4, 2011 at 8:47 PM, Muhammad Ichsan wrote:
> On Wed, May 4, 2011 at 7:26 PM, Claus Ibsen wrote:
>> Read the documentation
> from(xxx)
> .inOut().to("activemq:queue:foo")
> .threads(5)
> .to(yyy)
> .to(zzz);
>
from("direct:casemx")
Hi
one thing I once did and it worked out quite good was to register the
SEDA component from one route as a Service
now I used that one not to communicate between bundles but to
communicate with the bundle that provided it as a
service. It worked out quite good and I didn't need any other extra
in
You need to put "stuff" inside the tag.
XXX
I think in one of the later Camel releases we have added validation
for that so you will get an error on startup.
On Thu, May 5, 2011 at 8:14 AM, Muhammad Ichsan wrote:
> On Wed, May 4, 2011 at 8:47 PM, Muhammad Ichsan wrote:
>> On Wed, May 4,
On Thu, May 5, 2011 at 1:14 PM, Muhammad Ichsan wrote:
> Using above DSL, it did work. But it does not for the following XML:
>
>
>
>
>
>
>
>
>
>
>
On Wed, May 4, 2011 at 10:18 PM, Jeff Segal wrote:
> I have some general question about Camel and Jetty integration.
>
> First, given that the jetty: Camel Component creates an embedded Jetty
> server, is it assumed that this component would never be used within a web
> app? Or am I missing someth
What version of Apache ServiceMix are you using? And do you use the Camel
version that it came with out of the box?
You should consider using OSGi blueprint for the future as it works and
plays much much better in OSGi than Spring DM does. And its more
lightweight.
Anyway we have seen those issue
Hi
A good idea is to post version information of the products you use. For
example with a stacktrace we need to know the version so we can dig into the
source code to see why the NPE may happen.
So what version of Camel and CXF are you using?
-
Claus Ibsen
-
FuseSource
Email:
You can use XPath to extract the tag. To insert that into the other
message, you can use plain JAXP.
Using plain java code to do this taks seems like a good choice
public class MyBean {
public void doSomething(@XPath("/Person/age/") Object age) {
// load the file
// insert the age into th
45 matches
Mail list logo