and when i received the message's ApplIdentityData is "HEAD", i need to
receive others message.
so how to send/receive message more than one in camel-jms producer/consumer.
--
View this message in context:
http://camel.465427.n5.nabble.com/can-camel-jms-support-the-ibm-mq-MQMD-ApplIdentityData-t
i means why the remote mq server address or port is not part of the camel-jms
uri or some properties.
like jms://localhost:1414:queueName=Q1&qmgrName=QM1...
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-configure-jms-URI-to-support-send-or-receive-message-on-remote-
Thanks! recipientList was what I was looking for, but since my list had only
one member I didn't bother to check...
My apologies: the obvious control loop in the dynamic router diagram wasn't
enough to make me read the red box warning about an endless loop, or the
comments in the sample beans that
how to implement the synchronized communicate by camel-jms ? i need to extend
JmsProducer and override the process method?
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-extend-the-component-tp5073447p5073527.html
Sent from the Camel - Users mailing list archive at Nabb
I'm afraid you have to catch the exception in your consumer. Then you
may notify the out side manager which can restart the route for you.
I don't think current camel error handler can deal with this kind
situation.
On Wed Dec 14 02:11:55 2011, Jason Dillon wrote:
Is there a better place to
On Wed, Dec 14, 2011 at 4:39 AM, xiangqiuzhao wrote:
> i wan't to use camel-jms component,but my application must implements some
> strategies to hander the big message, like how to merge some small message
> to a whole message.
>
> so i want to extend the camel-jms, if i create a new camel-myjms
Hi
Why are you using the dynamic router EIP? Just use
from
to
Or
from
recipientList
Read the documentation about the Dynamic Router EIP, as what you do
end up in a endless loop, as the dynamic router will re-evaluate the
expression until it returns null.
On Tue, Dec 13, 2011 at 10:03 PM,
On Wed, Dec 14, 2011 at 4:27 AM, xiangqiuzhao wrote:
>
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
> like the bean info, how to set the hostName and port by using api? camel-jms
> how to get the ConnectionFactory info?
>
Its just Java Code, so create a new com.ibm
You can find the information in the JmsComponent.
If you want implement some thing by your own , you'd better to go
through the code.
On Wed Dec 14 11:27:51 2011, xiangqiuzhao wrote:
like the bean info, how to set the hostName and port by us
i wan't to use camel-jms component,but my application must implements some
strategies to hander the big message, like how to merge some small message
to a whole message.
so i want to extend the camel-jms, if i create a new camel-myjms component
and the MyProducer extend JmsProducer, MyConsumer ext
>
>
>
>
>
>
>
>
>
>
>
>
like the bean info, how to set the hostName and port by using api? camel-jms
how to get the ConnectionFactory info?
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-configure-jms-URI-to-support-send-or-rec
> I'd suspect that the default google.com page has some
> relative resources that it's trying to load
I've just tried with
from("jetty:http://0.0.0.0:8080/dynamic/?matchOnUriPrefix=true";)
.dynamicRouter(constant("http://0.0.0.0:8000/?bridgeEndpoint=true&throwExceptionOnFailure=false";));
w
At first glance, I'd suspect that the default google.com page has some
relative resources that it's trying to load and is re-obtaining the page,
the browser finds relative resources on the page to load (css, javascript,
images etc) and re-rendering them...
Try a wget / curl on it and see the order
Hello,
*This is my Route:*
from("jms:validate?replyTo=validateResult").bean(ValidatorBean.class);
*Sending a message as follows:*
template.sendBody("jms:validate", "My Text Message");
*Receiving the replied message as follows:*
Endpoint endpoint = context.getEndpoin
Hello,
Sorry about my ramblings above! I figured this out (Man was so simple!) This
thread helped me!
http://camel.465427.n5.nabble.com/Request-Reply-using-a-predefined-reply-queue-td470371.html
/This is my Route:/
*
from("jms:validate?replyTo=validateResult").bean(ValidatorBean.cla
Hi Claus,
I still cannot get the this simple scenario working - Shame on me! Any
assistance will be appreciated.
I have the following route in the configure (@override) method of my test
class.
/from("jms:validate?*replyTo=validateResul*t").bean(ValidatorBean.class).to("jms:validateResult");/
Hello all.
I've tried to create an http proxy/router using dynamic routing. The
simplest attempt was
from("jetty:http://0.0.0.0:8080/dynamic/?matchOnUriPrefix=true";)
.dynamicRouter(constant("http://www.google.com/?q=camel&bridgeEndpoint=true&throwExceptionOnFailure=false";));
It doesn't wor
I've been working through a problem regarding temporary queues, ActiveMQ
failover, and Apache Camel. The scenario is:
1. Two brokers started in a network of brokers
2. Camel producers and consumers connect to a random broker creating temporary
reply queues
3. I take one broker offline (clean shu
Thank you very much Claus.
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Quartz-consumer-doesn-t-allow-underscores-tp5063734p5072569.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Does Camel support the ability to have processors run in separate
classloaders? I have a system that will support 3rd party plug-ins
(processors). This makes me want to separate the processors into
their own classloaders, similar to what Tomcat does with contexts.
Thanks,
Mark
Attached Graph for Old Gen behavior .
[cid:image001.png@01CCB9D3.EFAC3460]
-Original Message-
From: deckerego [mailto:decker...@gmail.com]
Sent: Monday, December 12, 2011 6:10 PM
To: users@camel.apache.org
Subject: Re: Garbage collection Execuation ...
If you're seeing objects repe
Is there a better place to ask this question?
--jason
On Dec 7, 2011, at 3:11 PM, Jason Dillon wrote:
> I'm wondering what (if any) is the camel way to cope w/and handle exceptions
> which are internal to and endpoint (not for those which occur while
> processing exchanges with an endpoint).
Dear Deckerego,
I didn't write any code it is all XML configuration as spring and I have
attached xml came context.
Thanks,
Omar Atia
-Original Message-
From: deckerego [mailto:decker...@gmail.com]
Sent: Monday, December 12, 2011 6:10 PM
To: users@camel.apache.org
Subject: Re: Garbage
Ok, so for my case, where I am not interested in anything returned from
seda, I think I can use asyncSendBody and discard the Future returned. I
will try that.
Mete
--
View this message in context:
http://camel.465427.n5.nabble.com/seda-queue-performance-tp5068914p5072254.html
Sent from the Cam
Many Thanks for your response.
It works like a treat
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/NotifyBuilder-issue-while-integration-testing-tp5068648p5072197.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
You need to use whenDoneByIndex(0) to tell the notify builder to match
when the very first exchange was done.
As the recipient list, multicast, splitter EIP will create
sub-messages (eg new Exchanges) and they may be done before the parent
Exchange
and thus cause the notify in your example to m
I did the test and running a standalone camel works. I do not have the
error anymore.
When i'm not providing the JMS API i have a classNotFoundException. Can
it still be a double API missmatch ?
Do you have ideas or lead to help me fix this problem ?
Le 09/12/2011 10:38, Pierre HARDY a écrit :
>
On Tue, Dec 13, 2011 at 11:48 AM, Claus Ibsen wrote:
> Hi
>
> I can reproduce the issue and have created a ticket
> https://issues.apache.org/jira/browse/CAMEL-4773
>
Fixed today, and will be part of the Camel 2.9.0 release.
>
>
> On Tue, Dec 13, 2011 at 10:45 AM, m.jimen.blazquez
> wrote:
>>
Hi
If you use matchOnUriPrefix=true on the jetty endpoints, then they
match any context path prefix,
from("jetty://0.0.0.0:80/manager?matchOnUriPrefix=true").to("bean:webappOne");
So if you hit these urls they will be triggered in the route above
http://0.0.0.0:80/manager/foo/bar
http://0.0.0.0
On 13 December 2011 11:51, Sol Ido wrote:
> Thank you Claus
>
> I really like Scala and i have to consider the combinaison of Scalate and
> Jade as a generator since i'm still looking for a complete solution.
As an aside Scalate supports a few different template languages; the 2
most relevant for
Thank you Claus
I really like Scala and i have to consider the combinaison of Scalate and
Jade as a generator since i'm still looking for a complete solution.
My main concern is too avoid to declare to much Jetty entries. If i've to
open one for each action and controller ...
In this page http:/
Hi
I can reproduce the issue and have created a ticket
https://issues.apache.org/jira/browse/CAMEL-4773
On Tue, Dec 13, 2011 at 10:45 AM, m.jimen.blazquez
wrote:
> Hi,
>
> I have reduced my code to the simplest code.
>
> This code goes perfectly:
>
>
>
>
>
>
> but this one go
Hello,
Iam using 2.8.3
Thanks
--
View this message in context:
http://camel.465427.n5.nabble.com/NotifyBuilder-issue-while-integration-testing-tp5068648p5071046.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Hi
I have a problem with database for BAM. I created sample code :
ActivityBuilder request =
activity("broker:topic:req?concurrentConsumers=1").name("Request")
.correlate(xpath("/Request/@Id").stringResult());
ActivityBuilder response =
activity("broker:topic:res?concurrentConsume
Any negative number will close the message group.
Regards,
Raúl.
On 12 December 2011 19:05, Raul Kripalani wrote:
> Yes, message groups is the way to go. I've used this in the past and it's
> an extremely elegant and well-behaved pattern ;)
>
> If producers shut down cleanly, you may want to ta
Just to clarify, there seems to be some confusion regarding the usage of
sendBody/requestBody and variants.
The correct usage is as follows, pasted from the Wiki:
The send*() methods use the default Message Exchange Pattern (InOnly, InOut
> etc) as the endpoint. If you want to explicitly perform a
Le Tuesday 13 Dec 2011 à 01:30:10 (-0800), metebalci a écrit :
>
> Christian, you said sendBody uses InOut pattern, actually I only want InOnly
> (only send, no need for return), how can I use it like that ?
requestBody.
http://camel.apache.org/producertemplate.html
--
Guillaume Yziquel
Hi,
I have reduced my code to the simplest code.
This code goes perfectly:
but this one goes wrong:
public class RouteHelper{
int i = 0;
public String slip(MessageContentsList body){
if (i==0){
Thanks Christian and Raul.
I am not much experienced on camel, so I may use wrong terminology, be aware
of this please.
More details:
I am using camel 2.6.0 at the moment with Sun Java 6 on Linux, and it runs
inside a war deployed on Tomcat 7.
I am configuring it programmatically with RouteBuilde
I think you can just put the setting of the datasrouces into your
config.xml.
On Tue Dec 13 16:41:56 2011, focaldi wrote:
Thanks Claus, but I am trying to add in ActiveMQ library. And my project has
a myconfig.xml for configuration and I want to register datasources what
defined in myconfig.xml
i only want to use camel api to setup the jms to access ibm mq.
and i want to extend camel-jms to support my application message protocol.
like big message how to
split some small message.
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-configure-jms-URI-to-support-s
Thanks Claus, but I am trying to add in ActiveMQ library. And my project has
a myconfig.xml for configuration and I want to register datasources what
defined in myconfig.xml to camelcontext. So I cannot use a jndi.properties
file... May be I couldt explain what is my problem...
--
View this messag
Hi
What version of Camel are you using?
On Mon, Dec 12, 2011 at 4:34 PM, suman wrote:
> Hello Guys,
> Iam trying to do integration testing using NotifyBuilder support of camel.
> Very basic use as highlighted below
> =
> NotifyBuilder notify = new
> NotifyBuilder(this.camelCont
On Mon, Dec 12, 2011 at 5:53 PM, Craig McDaniel wrote:
> I guess I should clarify that I'm getting an AmbiguousMethodCallException,
> not that the bean binding can't see the method.
>
We can use help on the Scala DSL. Maybe we could add a method so you
can invoke a bean from the Scala predicates.
Hi
You must have build the method wrong, in the for loop.
Make sure its built correctly.
I just added a test to trunk that works with 3 parameters
http://svn.apache.org/viewvc?rev=1213597&view=rev
On Mon, Dec 12, 2011 at 5:49 PM, m.jimen.blazquez
wrote:
> Hi,
>
> I have converted the route to a
Thanks Willem but I didnt create another camelcontext. Just I want to use
ActiveMQ camelcontext instance. So when I tried to add this context in java
code, I couldnt find like "camelContext.addRegister" command.
--
View this message in context:
http://camel.465427.n5.nabble.com/Deploy-Camel-proje
On Tue, Dec 13, 2011 at 9:32 AM, Willem Jiang wrote:
> On Tue Dec 13 16:21:14 2011, focaldi wrote:
>>
>> Hi I am using Activemq 5.5.1 and I wanna deploy my camel application what
>> it
>> is adding dynamic routes and some datasource registry. But I couldnt add
>> datasources to camel instance that
Hi,
In servicemix/JBI, if message exchange was not set to DONE status,
there will be a memory leak (not easy to detect).
Will missing getUnitOfWork().done(ex) lead to a memory leak in
Camel?
Are there such leaks possible also in Camel due to missing
exchange status.
Hi
There is no best solution to rule them all.
Use what works best for you.
Yes template engines is great for generating dynamic HTML pages.
If you are into the Scala world, then there is also scalate
http://scalate.fusesource.org/
On Mon, Dec 12, 2011 at 5:51 PM, Sol Ido wrote:
> Hello every
On Tue Dec 13 16:21:14 2011, focaldi wrote:
Hi I am using Activemq 5.5.1 and I wanna deploy my camel application what it
is adding dynamic routes and some datasource registry. But I couldnt add
datasources to camel instance that provided by Active MQ. If I would use
"camelContext = new DefaultCam
On Mon, Dec 12, 2011 at 11:55 PM, mattmadhavan wrote:
> Hello,
> I have been in out with this question for a while - Been pulled in different
> directions last few months - My apologies about it!
>
> Been spending some time on the Camel Book, starting to understand some basic
> concepts.
>
> I wan
Hi
Google and search this forum. There has been plenty of posts about how
to connect to IBM MQ from JMS and/or Camel.
On Tue, Dec 13, 2011 at 9:24 AM, xiangqiuzhao wrote:
> i can't use JNDI and can't use some configure file. so i wan't know how to
> use
>
> from(uri) to receive or send message
Hi Charles
Thanks for sharing this.
I think you have a good solution so far.
We may want to improve the Camel data format to allow to
specify a custom ObjectMapper.
Unfortunately the Camel json data format is a dual library that
supports xstream and jackson.
So if we add this option, then its s
Can you using Spring to access the IBM mq ?
You just need to setup the right connection factory on camel-jms
component.
On Tue Dec 13 16:24:19 2011, xiangqiuzhao wrote:
i can't use JNDI and can't use some configure file. so i wan't know how to
use
from(uri) to receive or send message to remot
i can't use JNDI and can't use some configure file. so i wan't know how to
use
from(uri) to receive or send message to remote ibm mq queue. how to sepecial
the address and port.
--
View this message in context:
http://camel.465427.n5.nabble.com/how-to-configure-jms-URI-to-support-send-or-receiv
Hi I am using Activemq 5.5.1 and I wanna deploy my camel application what it
is adding dynamic routes and some datasource registry. But I couldnt add
datasources to camel instance that provided by Active MQ. If I would use
"camelContext = new DefaultCamelContext(registry);", I can register to camel
56 matches
Mail list logo