[Michal]I mean that when the activemq is down, and a client sends a message - the send will get stuck until activemq raises. I found a solution, what i will do is add timeout=10000 to the Failover...
Type: Posts; User: michals; Keyword(s):
[Michal]I mean that when the activemq is down, and a client sends a message - the send will get stuck until activemq raises. I found a solution, what i will do is add timeout=10000 to the Failover...
hi.
When activemq is down i get stuck on jmsTemplate.convertAndSend.
Is there a way to configure a timeout on this so i won't get stuck if activemq is down?
currently i work around this by...
Hi,
I am using spring configuration to connect to activemq broker service
There is no problem once the broker gets down, the client will attempt to connect to it
But, if it is down when raising...
I know. i did, this is why the jmsTemplate.setPriority works.
However, i don't understand what is the use for setting the prioritizedMessages in the activemq xml. is this needed or is it enough to...
Hi.
if I want messages on queues to be handled according to priority,
it seems like the only thing that works is to call:
jmsTemplate.setPriority
before each send with the required priority....
Thanks, you are right. this was one of my problems. any ways, it works now.
thanks
Hi, i am a little confused on what the difference is on all three:
1. prefetch limit: according to this link http://activemq.apache.org/what-is-the-prefetch-limit-for.html :.
It saids that i can...
Hi,
I found the problem, it was some configuration issues.
thanks for the help.
I am sorry, i guess i didn't explain my self very well.
The buttom line is that the listener bean which is defined in the active profile is not set as a consumer for some reason after i added the...
I know, i just mentioned this to show that i am configuring everything right since one side of the jms queue (the producer) works fine, but the other side does not.
thanks
I have 2 processes: 1 in tomcat and one not. tomcat produces messages to the AMQ-queue and the other process consumes.
I defined the spring xmls to have a profile called 'dev'
the tomcat process...
This post is a little weird.
i defined a bean profile, and it seems to work, but for some reason the jms listener i have under the active profile does not "catch" any message.
Does this ring a...
I am trying to configure bean profiles but it does not work,
I see in the log the message:
DEBUG 2012-12-12 13:27:00,815 [main] core.env.PropertySourcesPropertyResolver - Found key...
Hi,
i am trying to use the beans environment profile - new feature of spring-beans-3.1
but it does not work.
This is what i did:
Spring xml:
***********
After adding the explicitQosEnabled - i see an improvement. so now it takes about 33 seconds instead of 75 seconds.
This is great news.
thanks a lot.
Thanks for the great reply.
I tested what you suggested:
1. separating the connections between producer and consumer increased the performance greatly (300k on 2 directions~ 600k took 45 seconds...
thanks for the reply.
I have a few questions:
1. So if I understand this correctly, since i am using cachingConnectionFactory for jmsTemplate, it reuses the session/producer.
doesn't it mean that...
oh, i just added the spring test. i will also add the test which does not use spring.
I also fixed the previous post to be mode readable.
Here is the code for just plain AMQ:
Server:
...
spring-client.xml:
!-- ********************** Consumer ********************************* -->
<bean id="clientListener" class="example.ClientReceive">
<property name="receiveQueue"...
This is a big example and for some reason when i try to attach the files - it indicates that the file is bad.
I will add some of the code here: which shows how the client is implemented. the server...
Is there a way to attach files other than images?
I can't post my entire test, i don't see where i can attach files.
I am testing this flow:
1.Client->send request ->Server.
2. Server->send response->Client.
3. Client->receive response&send...
Hi, i am comparing the performance of active mq using spring and with out spring.
it seems that with spring is much slower.
It looks like the problem is with sending and not receiving. When i use...
This does not help. the Spring is still very slow compared to using no spring.
This is the new configuration i use according to your recommendation:
server:
<!-- Consumer -->
<bean...
I am running some POC on Active MQ using spring configuration:
I am encountering some serious performance issues:
I am testing a point-to-point between two processes. client-server : client...