Hi there,
I’m using camel 2.6.0 within servicemix and have about 50 camel applications
deployed..
Now I have about 260 “OnCompletion” threads which seems to be a lot, especially
because the number of camel applications is going to be increased significantly
on my environment.
Is there any way
Hi All,
I am on my way to write a POC, in which i am facing issues related to
threads.
I have ActiveMQ (V5.3.0) running on my remote Linux (RHEL) box and which can
be reached via tcp protocol and 62616 port.
Here is my usecase which i am trying to implement in the POC.
1.My JMS client is runnin
Hi Freeman-2,
Thanks for your reply.
I tried your suggestion but it does not transfer any file instead camlelock
file is created.
Actually I want to stop Camel once the transfer of existing files in the
source folder is done.
--
View this message in context:
http://camel.465427.n5.nabble.com/C
Thanks a lot Bilgin Ibryam.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-running-continuously-tp5009748p5012463.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Yes, IDEA has great maven support out of the box.
On Mon, Nov 21, 2011 at 11:11 PM, Omar Atia wrote:
> Eclipse can't support XML , is there any maven plugin for IntelliJ as I'm
> downloading it now .
>
> -Original Message-
> From: Bilgin Ibryam [mailto:bibr...@gmail.com]
> Sent: Monday,
Correction: the last call should have been *getProxyForService*() instead
of getService().
On Mon, Nov 21, 2011 at 8:33 PM, Andrew Boyd wrote:
> Ok so with messaging we are de-coupled do the proxy can accept an endpoint:
>
> Echo service = ProxyHelper.createProxy(context.getEndpoint("direct:echo
Ok so with messaging we are de-coupled do the proxy can accept an endpoint:
Echo service = ProxyHelper.createProxy(context.getEndpoint("direct:echo"),
Echo.class);
I still need to pass around a reference to a particular Object. So I guess
my question should be how I generate an Exporter on the
Hi Claus,
In the links you provided it shows how to make a proxy for a particular
Class. I want to make a proxy for a particular Object.
I want to replace this:
RequestImpl br = (RequestImpl) tmpHolder.get(ndx); // <- br is the Impl
retList[ndx] = (RequestInterface) javax.rmi.PortableRemoteObj
Hi JB,
Thanks for your prompt reply!
I don't have to create a dedicated registry for camel as long as I can still
see camel routes through ServiceMix/Karaf MBeanService/registry. However, I
am not able to verify this because the default ServiceMix JMX connector URI
does not work neither:
*/servi
Hadrian: thanks for your valuable feedback.
this is my partial route:
${body}
netty:tcp://${body}?sync=true
DigiUri
The first route (from above) works fine.
in the second route, it works
Thanks Hadrian, I'm going to fix it as you have explained.
--
View this message in context:
http://camel.465427.n5.nabble.com/No-consumers-available-on-endpoint-Endpoint-direct-start-tp5011742p5011993.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Of course that's what happens. If you send it to stream:out (if it works
you probably added a dependency on camel-stream) it will use a Producer
to send it to std:out (as that is the behavior of camel-stream with a
stream:out uri).
If you send it to direct:start, the behavior of the direct com
Well it means that you call a direct endpoint and no one is listening on it.
What do you want to achieve with direct:start?
Christian
Am 21.11.2011 22:30, schrieb newbiee:
I have following route:
${body}
netty:tcp://${body}?sync=true
DigiUri
I have following route:
${body}
netty:tcp://${body}?sync=true
DigiUri
DigiUri
If I replace:
DigiUri
with:
The value of "DigiUri" is printed on the command prompt.
But with
I am attempting to convert a SOAP message from one message format to another,
and along the way calculating and aggregating data. At any rate, I am
trying to create a custom processor to do this, within which I will have
xpath calls and such.
Currently I am running into an issue trying to convert
Eclipse can't support XML , is there any maven plugin for IntelliJ as I'm
downloading it now .
-Original Message-
From: Bilgin Ibryam [mailto:bibr...@gmail.com]
Sent: Monday, November 21, 2011 11:05 PM
To: users@camel.apache.org
Subject: Re: converting form JAVA DSL to Spring DSL
I'm us
I'm using IntelliJ but Eclipse or any editor supporting xml with
schemas should be fine.
Bilgin
On Mon, Nov 21, 2011 at 8:58 PM, Omar Atia wrote:
> Is there any IDE different than Eclipse Plugin for apache camel ?
>
> -Original Message-
> From: newbiee [mailto:m_ess...@hotmail.com]
> Sen
Is there any IDE different than Eclipse Plugin for apache camel ?
-Original Message-
From: newbiee [mailto:m_ess...@hotmail.com]
Sent: Monday, November 21, 2011 10:39 PM
To: users@camel.apache.org
Subject: Re: converting form JAVA DSL to Spring DSL
Thanks Bilgin.
I'm not using IDE
Thanks Bilgin.
I'm not using IDE but will try using it.
--
View this message in context:
http://camel.465427.n5.nabble.com/converting-form-JAVA-DSL-to-Spring-DSL-tp5011220p5011615.html
Sent from the Camel - Users mailing list archive at Nabble.com.
If you have xml autocompletion in your IDE, you should use it.
Current time is ${header.firedTime}
Bilgin
On Mon, Nov 21, 2011 at 5:55 PM, newbiee wrote:
> I have following JAVA DSL:
>
> from("timer://myTimer?period=2000")
> .setBody().simple("Current time is ${header.fir
On Wednesday, November 09, 2011 12:49:09 PM Ashwin Karpe wrote:
> Hi,
>
> Unless I am mistaken, RabbitMQ is released under the Mozilla Public License
> 1.1. This license version is not compatible with Apache License v2.0. There
> was talk of having a compatible Mozilla Public License v 2.0. If Rab
Hadrian;
I am executing each route one by one. Here is what I have done:
First route:
It runs successfully and I am able to see all the host:IP in the digiQueue
Nex I add the second route:
${body}
Hi Dan & Christian,
thanks for your hints. @Christian what I meant was not 'Camel User List'
*but* 'Camel Developer List'. Anyway now in addition to
'users@camel.apache.org' (which I've subscribed since last year) now I also
managed to subscribe to 'd...@camel.apache.org' as well:
---
Sure.
Hadrian
On 11/21/2011 01:03 PM, newbiee wrote:
Hadrian:
Thank you for putting the code together. I feel that I am gaining a lot from
your code as I go through it again and again.
Your code shows how to establish TCP connection. Can you also give few hints
about how to send commands to th
Thank you to both Bilgin and Hadrian
--
View this message in context:
http://camel.465427.n5.nabble.com/invoking-bean-from-CAMEL-route-tp5008230p5011239.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hadrian:
Thank you for putting the code together. I feel that I am gaining a lot from
your code as I go through it again and again.
Your code shows how to establish TCP connection. Can you also give few hints
about how to send commands to the Digi and get the response back.
I want to know, if
I have following JAVA DSL:
from("timer://myTimer?period=2000")
.setBody().simple("Current time is ${header.firedTime}")
.to("stream:out");
how can I converted the first and third lines to Spring DSL:
How can I convert .setBody().simple("Current time is ${header.firedTime}")
t
On Monday, November 21, 2011 6:35:47 PM Christian Müller wrote:
> As mentioned in [1]:
> "You have to be a subscriber of the Camel mailinglist to be able to post on
> the user forum... If you are not a subscriber your post will not be
> forwarded and thus most people will not see your post."
>
> [
As mentioned in [1]:
"You have to be a subscriber of the Camel mailinglist to be able to post on
the user forum... If you are not a subscriber your post will not be
forwarded and thus most people will not see your post."
[1] http://camel.apache.org/discussion-forums.html
Best,
Christian
On Mon,
Hello Willem, hello list!
Today I found a bit time to look again into this issue and I could solve it
(will provide a unit test later for this).
The trick was to use
context.stopRoute(routeId);
instead of
((DefaultRoute) context.getRoute(routeId)).stop(); // doesn't work
Also
context.removeRoute
How do I use ConsumerTemplate?
This is my attempt. Created a new Processor:
// Dequeue
.when(and(header("CamelHttpUri").regex(".*/my-queue.*"),
header("CamelHttpMethod").isEqualTo("GET")))
.setExchangePattern(ExchangePattern.InOut)
.process(new InOutProcessor())
And inside it I
I created a custom processor per the links posted previously. Once in a
custom processor, is there a way to marshal the message into java objects?
Or is there a good way to parse and edit the xml message from within the
processor, or should I just write base XML parsing in java?
--
View this mes
Hi,
I couldn't really make up my head on how to implement a route/workflow as
follows:
1. Listen for Amazon SQS message
2. Extract Amazon S3 URL contained in the message
3. Fetch file the URL is pointing to from Amazon S3
4. Process file
5. Send email or send message to different Amazon SQS
Am
@newbiee, a lot of your questions would be answered by reading through
the camel wiki and looking at the code/tests. Reading the manual [1]
(older versions in pdf and html are also available [2]) may also be very
helpful and an excellent starting point.
Cheers,
Hadrian
[1] http://camel.apache
Actually for a bit more clarity, the route is as follows:
// Static
SOAP Message
// This is a remote
version of servicemix where this queue is processed and responded with a
complex SOAP XML message
At this point is where I'd like to begin transforming the message, and am
Well I suppose the interesting thing is that when the initial request is sent
to the cxf web service endpoint, I am just using a velocity template as the
message since it is static, so the cxf endpoint is in MESSAGE format for
that. The reply back from the cxf endpoint then would be what needs to
Hi,
As my posts don't get accepted @ dev here a link to my 2 cents:
http://camel.465427.n5.nabble.com/Unit-test-failure-on-trunk-in-camel-saxon-tp5009713p5010536.html
Question: if I would subscribe to dev-subscr...@camel.apache.org as provided
by [1] would it then be accepted?
[1] http://camel.
Theoretically, you could use camel-netty or camel-mina to do so, but I will
propose a more easy approach which is camel-exec:
http://camel.apache.org/exec.html
Using camel exec you could execute commands in your system. So I guess that
something like ssh username:host -C command would do the trick
On 21/11/2011 10:33, Ioannis Canellos wrote:
When I run file transfer happens but the camel does not stop. The funny
thing is whatever files I paste in source folder is transferred to the
target again and again. How to stop the camel running once the transfer is
over?
If I understand the questi
Thank you for your reply Christian,
I managed to extract data from a database using JPA and insert them into
another database using a Processor, but this procedure is very long. Is
there a way to optimize the insertion of these data in the database?
Regards
Idriss
--
View this message in context
Hi,
Do you mean file consumer consume same file over and over again? If
so, you just need add noop=true to from uri, which can avoid consuming
the same files over and over again. You may need take a look at [1] to
get more details how to configure file component.
[1]http://camel.apache.org
Around the same topic, I blogged about how to use Camel to implement
batches (run once and stop, with another route to control the first one):
http://blog.nanthrax.net/2011/08/use-camel-cxf-and-karaf-to-implement-batches/
Regards
JB
On 11/21/2011 11:33 AM, Ioannis Canellos wrote:
When I run f
> When I run file transfer happens but the camel does not stop. The funny
> thing is whatever files I paste in source folder is transferred to the
> target again and again. How to stop the camel running once the transfer is
> over?
>
If I understand the question correctly you want to execute the r
"direct" endpoint is not going to generate messages for you. You have
to send a message to it from another route or java code.
It is used mainly to connect routes synchronously, take a look here
http://camel.apache.org/direct.html
Bilgin
On Mon, Nov 21, 2011 at 2:47 AM, newbiee wrote:
> hi Bilgi
There are similar questions and answers on the user mailing list where
you can find the answer, here is one:
http://camel.465427.n5.nabble.com/How-to-make-camel-stop-automaticaly-td465989.html
Bilgin
On Mon, Nov 21, 2011 at 7:57 AM, southtechie wrote:
> I wrote a came route in beans.xml file to
I wrote a came route in beans.xml file to transfer files from one folder to
another.
When I run file transfer happens but the camel does not stop. The funny
th
46 matches
Mail list logo