thanks for all the help, but i am not able to get this working correctly.
The code is like this:
public void start(){
try{
ConnectionFactory factory = getTemplate().getConnectionFactory();
con = factory.createConnection();
con.start();
session =con.createSession(false,Session.AUTO_ACKNOWLEDGE);
M
Try:
failover://(tcp://primary:61616,tcp://secondary:61616)?
randomize=false&maxReconnectAttempts=10
On 2 Dec 2008, at 00:09, yinghe0101 wrote:
hi,
Can I do the configure the following activemq url on the client side?
failover://(failover://(tcp://primary:61616,tcp://secondary:61616)?
ra
I'm using Active MQ 5.0 on a RedHat Linux system.
I have a number of slow consumers in my network, but I cannot get the slow
consumer policies to work.
I have set the PrefetchSize on the connection URL.
java.naming.provider.url=tcp://localhost:61614?connectionTimeout=0&jms.prefetchPolicy.all=10
Hi,
I have a scenario where i need to route message to two different queue, if
it satisfy some conditions.
I have specified two provider as MyProviderService1 and MyProviderService2
for two different queues.
When i am trying to add
Hi all.
I've been having recurring issues with blocking sends that I'm having a
really hard time diagnosing.
I've got a couple of moderately high traffic queues (single digit msgs/sec)
being published to by a couple of java services (over openwire) and received
by O(100) stomp+ssl clients. They
hi,
Can I do the configure the following activemq url on the client side?
failover://(failover://(tcp://primary:61616,tcp://secondary:61616)?randomize=false&maxReconnectAttempts=10,
failover://(tcp://primary:61616,tcp://secondary:61616)?randomize=false&maxReconnectAttempts=10)?randomize=false
It
Hi,
here are some random questions I'd like to throw..
1. What is "activemq-rar-xxx.rar" for & when/why do you use them?
2. I use Spring for everything and activemq is configured thru Spring API.
Assuming #1 answers will involve with JNDI, JTA in Application Server,..
which way is generally rec
We successfully use ActiveMQ on the Unix partition of the z/9. We only
run the client part there (the broker runs on a x86-linux box), but
I'd think that the server has any issues running.
You cannot use the MQ queues directly in ActiveMQ, but you can setup a
bridge to transfer the messages. Of cou
I have not gotten much further than you have, but I have noticed that for
ActiveMQ 5.2, the the name of the class is
org.apache.activemq.jndi.ActiveMQWASInitialContextFactory, not
org.activemq.jndi.ActiveMQWASInitialContextFactory.
--
View this message in context:
http://www.nabble.com/ActiveMQ
Hello,
I'm running mvn clean site -P in a module and getting the
following error.
INFO] [site:site]
[WARNING] No Clover database found, skipping report generation
[ERROR] No URL set in Issue Management. No Trac Report will be generated.
[ERROR] No URL set in Issue Management. No JIRA Report
Hi.
We have a case at work where we want to disable the sending of messages over
the stomp transport. Is this possible?
I was looking at a custom BrokerFilter that overrides the send method and
checks the connection info, but in my tests the Connection is being stripped
out of the message at som
2008/12/1 Lars Eirik Rønning <[EMAIL PROTECTED]>:
> hm, I think i only run session.comit().
If you are using transacted sessions then use the SESSION_TRANSACTED
ack mode rather than CLIENT_ACKNOWLEDGED
> What is the method i need to run to acknowledge()..
>
> On Mon, Dec 1, 2008 at 4:36 PM, Gabe
hm, I think i only run session.comit().
What is the method i need to run to acknowledge()..
On Mon, Dec 1, 2008 at 4:36 PM, Gabe Westmaas
<[EMAIL PROTECTED]>wrote:
> And does your client acknowledge after it receives it? If not, it will
> read the message again later since the broker thinks it w
And does your client acknowledge after it receives it? If not, it will read
the message again later since the broker thinks it wasn't received.
-Original Message-
From: "Lars Eirik Rønning" <[EMAIL PROTECTED]>
Sent: Monday, December 1, 2008 10:05am
To: users@activemq.apache.org
Subject:
Hi i am using the following :session
=con.createSession(true,Session.CLIENT_ACKNOWLEDGE);
On Mon, Dec 1, 2008 at 2:42 PM, Gabe Westmaas
<[EMAIL PROTECTED]>wrote:
> Could be an acknowledgment issue, what type of acknowledge (client, auto,
> dups ok, transaction) are you using?
>
> -Original Me
Hi,
you can generate JavaDocs by executing Maven task (mvn javadoc:javadoc)
Take a look at this link for more info:
http://maven.apache.org/plugins/maven-javadoc-plugin/usage.html
dusanmsk wrote:
> Hi there.
>
> I am new to java and activemq. I am using NetBeans to develop some app with
> act
Hi there.
I am new to java and activemq. I am using NetBeans to develop some app with
activemq. My problem is that I can't find activemq javadoc for download (
only online version ), so I can't integrate it into the IDE. Is there some
downloadable version of activemq javadoc? Or is it possible so
Hi
> 1) It seems that messages are passed from broker to broker until the message
> reaches a final broker where the consumer for that queue has a connection to
> it. ie. If we have 5 brokers and all have consumers running. If Broker 1
> sends a message(which is intended for Broker 3) to the queue,
Could be an acknowledgment issue, what type of acknowledge (client, auto, dups
ok, transaction) are you using?
-Original Message-
From: "Lars Eirik Rønning" <[EMAIL PROTECTED]>
Sent: Monday, December 1, 2008 8:16am
To: users@activemq.apache.org
Subject: Message is sendt more than once
Hi
Hi.
I have some business logic which process xml from a que served by activemq.
I use receive() to get the xml from the que.
When i run my business logic without the que only one instance of the xml is
receveived, where as when asking to get messages from the que it sends the
same message twice.
at
Hi Dejan,
Thanks for the speedy reply, unfortunately my route forward is still a bit
fuzzy.
Could you please answer the following questions as they concern me the most.
1) It seems that messages are passed from broker to broker until the message
reaches a final broker where the consumer for tha
Hi Craig,
you are right, "store and forward" architecture (with networked brokers,
as you explained) would work much better in a WAN environment. Please
note that these two approaches are not mutually exclusive, so you can
have clients that connects directly to the central broker as well (but
be s
Hi,
I think this might be an easy question, but I have an application where
my onMessage() handler is a consumer for both topic and queue messages.
The topic and queue consumer are derived from the same ActiveMQ session,
so I was under the impression that my onMessage() handler would not be
calle
Hi guys
I have a situation where we have one server on a public IP and multiple
clients connecting to the server over the internet on a raw internet
connection. The server has no visibility to the clients and each client is a
separate entity and has no visibility to another client.
We have look
24 matches
Mail list logo