So currently ActiveMQ's health mbean only reports problems, i.e. if you
force an issue to occur you'll see that green header turn to orange or read
with some additional messaging indicating what component is reporting an
issue. So the broker name in green is a good thing, i.e. no news is good
news
tl;dr use a pooled connection factory, more detail look at this page ->
http://activemq.apache.org/jmstemplate-gotchas.html
- Original Message -
From: "Michal Singer"
To: users@activemq.apache.org
Sent: Thursday, November 15, 2012 12:10:29 AM
Subject: jms template is slow and stucks
Hi,
Hi John
>
> I know that the fusesource guys started working on an AMQP 1.0
> implementation over on github [1] which builds on top of the Apollo
> infrastructure. Not sure how complete it is yet. Perhaps Stan Lewis
> can comment on how complete it is.
>
> [1]
> https://g
I think it ought to work unless Spark has some kind of issue with the
message that ActiveMQ is sending, can you consume messages from that
topic using the example consumer using openwire for example? Also
might be worth coding up a simple client using the smack library,
that's what's currently use
Currently the XMPP transport works best with the Smack library as a
client, that's certainly the most tested:
https://svn.apache.org/repos/asf/activemq/trunk/activemq-xmpp/src/test/java/org/apache/activemq/transport/xmpp/XmppTest.java
With other clients your mileage may vary, it's likely in your
move the calls to "waitUntilStarted" so they're *after* the calls to
start the master and slave, should do the trick...
On Fri, Jun 24, 2011 at 3:55 PM, Vijay wrote:
> For Junit testing failover , I want to start Master/slave instances with
> following piece of code. After Master starts, it hangs
The HTTP transport classes are in the activemq-optional jar.
On Fri, May 20, 2011 at 11:09 PM, Michael wrote:
> I am trying to run a very simple ActiveMQ message producer client. The
> source code is provided below.
>
>
>
> I am launching the app from Eclipse using the Run menu. I have configur
Can you try escaping the '&' character, i.e. replace it with "&",
or pass the URL through htmlspecialchars perhaps?
On Thu, May 12, 2011 at 6:00 PM, Tianchi wrote:
> Hi,
>
> I am using ServiceMix ESB, version: apache-servicemix-4.3.1-fuse-01-09 and
> activemq 5.4.2.fuse-03-09 and trying to set up
You can pass -Dlog4j.debug=true on your command line to find out where
log4j is picking up it's configuration and how it's parsing it.
On Mon, May 9, 2011 at 6:44 AM, degenaro wrote:
> Thanks for your reply. I think one of my problems is that I don't know where
> the log4j.properties file that n
Have you tried the settings from the example configuration file
conf/activemq-throughput.xml:
turning off journal disk syncs should have the biggest impact, however
the tradeoff is some reliability since the default (true) is to do a
blocking fsync on every message.
ue to our NFS mount.
>
> The only broker we have running during a CI test case is a VM broker, so I
> tried appending "?dataDirectory=/tmp" to the VM URI to move the journal to an
> actual disk but I get the same failure (we aren't using a XML config for a VM
> broker, so I'm trying to configure it through the URI). Is there something
> I'm missing or something I can try to avoid the locks? I don't care that it
> can't get a lock because it's just a CI test case, but it's causing our
> entire build to fail. Any ideas?
>
> Thanks!
>
> -Ryan
>
>
--
Stan Lewis
FuseSource
Email: sle...@fusesource.com
Web: http://fusesource.com
Twitter: gashcrumb
g on the same node. I want these to be
> active when I start the consumer. Is it possible?
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/How-to-setup-multiple-queues-tp3092113p3092113.html
> Sent from the ActiveMQ - User mailing list a
e, accepting the new ones from
> the producer, without blocking.
>
> For the first scenario, I haven't found any suitable configuration on
> ActiveMQ.
> For the secondo scenario, I've tryed with this code:
>
> OldestMessageEvictionStrategy strategy = new
> OldestMes
the admin console. Let me know what am I doing wrong. I worked on
> WebsphereMQ quite a bit in the past and the same sscenario would keep the
> messages there.
>
> Thanks.
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/Topic-messages-lost-even-wh
st-even-when-they-are-persistent-help-tp3069828p3071231.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
--
Stan Lewis
FuseSource
Email: sle...@fusesource.com
Web: http://fusesource.com
Twitter: gashcrumb
When you kill the client JVM the broker would get "connection reset by
peer" as the JVM closes the underlying socket. I think you'll even
see this if you run wireshark and look at the packets between the
client and broker.
However if you're running the client on a different machine than the
broke
Sounds like it could be a regression, I tried it here and it
definitely lags, tested it with the connection factory as-is, with a
pooled connection factory and finally with tcp instead of vm. I don't
see many recent changes in the activemq-camel component though.
You could actually achieve the sa
d
> producerFlowControl are supposed to work together. In the latest release of
> "ActiveMQ in Action", messageCursors aren't even mentioned.
>
> Thanks in advance,
> Joe
>
> Joe Niski
> IS Development | NWEA
>
> PHONE 503.212.3382 | FAX 503.639.7
You can install and use Pax Logging for this -
http://wiki.ops4j.org/display/paxlogging/Pax+Logging
On Mon, Oct 4, 2010 at 5:24 PM, Navin Naidu wrote:
> Hi,
>
> I am facing issues configuring log4j with activemq as osgi bundle, I have
> created an osgi bundle of activemq Embedded broker and has l
activemq's lib directory is the right place for it, make sure you
either put the class in a directory hierarchy that matches the class's
package name or build it into a Jar file.
On Mon, Oct 4, 2010 at 3:32 PM, Illtud Daniel wrote:
> I hope you don't mind me posting this to the activemq, rather t
It could be that you're hitting the system memory usage limit. Try
setting a lower memory limit on your queue like 1mb with the
pendingQueuePolicy.
On Fri, Oct 1, 2010 at 6:13 PM, Joe Niski wrote:
> Well, i may have spoken too soon. Tests with a queue's destination policy
> configured like this
Should be able to do something like:
http://www.springframework.org/schema/beans";
id="myPlugin" class="com.yahoo.MyPlugin">
false
for this, there's some other examples here:
http://activemq.apache.org/developing-plugins.html#DevelopingPlugins-Configuringp
Think Gary answered this for you in another thread, but in case you
missed it in the activemq_msgs table there's a column that has the
destination ID, this is for either topics or queues.
On Tue, Sep 14, 2010 at 1:49 PM, pp wrote:
>
> thanks stan for ur help.. but i want to know where the topics
All of ActiveMQ's messages are stored in that activemq_msgs table, at
least when you're sending persistent messages. Create a durable
subscription on your topic and send some persistent messages to it,
you'll see new entries get added to activemq_msgs. Note that once a
message is ack'd it's remov
Yup, that's basically it, you should be able to re-use your
configuration file form 5.3.2 with 5.4.
On Mon, Sep 13, 2010 at 8:26 PM, kseelam wrote:
>
> Hi
>
> We are using 5.3.2 and wondering how to upgrade to 5.4. Is there any
> process for it? or just install 5.4 and uninstall 5.3.2.
>
> Pleas
Looking at the code it looks like you can add JMSTimeToLive as a parameter, i.e:
http://localhost:8080/demo/message/abc?type=queue&clientId=myid&JMSTimeToLive=5000
That should set the message expiry for you.
On Fri, Sep 10, 2010 at 6:00 PM, ChicagoBob123 wrote:
>
> I am using http and Rest to s
Here, Dejan has a good blog post about securing the web console:
http://www.nighttale.net/activemq/securing-activemq-531-console.html
You could set up a reverse HTTP proxy in Apache to forward requests to
ActiveMQ, it'd have to be listening on a different port if you're
running the broker on the
You just have to specify the IP address of the network interface you
want the broker to listen on, i.e. instead of using "0.0.0.0" which is
the "all interfaces" address, you specify the actual IP address. Then
run the broker and if you do a "netstat -a" you should see it's only
listening on that s
ActiveMQ doesn't understand the resource request there, so use a username like
"foo" instead of "f...@adium" and you should be able to connect just fine,
tested it here on 1.4b18 and it looks good.
On Sep 1, 2010, at 11:12 AM, joe smith wrote:
> Hi, sorry if this is a re-post.
>
> I'm using a
What version are you running? Can you post the exact code the
consumer is using to connect and register it's message listener? Also
does this behavior happen with the example producer/consumer shipped
with activemq?
On Sat, Jul 3, 2010 at 6:51 AM, zagiatakrapovic wrote:
>
> Hi guys,
>
> I exper
You have to connect to the broker using the same client ID and then
create a subscription using the same name as you used previously, that
will get you connected to the existing subscription.
On Wed, Jun 30, 2010 at 8:24 AM, Daniele Dellafiore wrote:
> Hi everyone. I just started using ActiveMQ a
You just asked this same basic question already, again you need to
have a durable subscription on the topic for the broker to persist
messages. Have a look at:
http://java.sun.com/products/jms/tutorial/1_3_1-fcs/doc/basics.html
under ""2.2.2 Publish/Subscribe Messaging Domain" and read it
carefu
32 matches
Mail list logo