Re: Best way to remotely monitor AMQ 5.x installation via .NET?

2011-04-06 Thread James Casey
Hi Mike, We've used JMX4Perl successfully for this : . It's got good nagios integration too. cheers, James. On 4 April 2011 21:57, Mike J. Kitchin wrote: > Hi there, > > We use AMQ extensively in our enterprise to integrate our C++ and C# > applicati

Re: KahaDB - log f

2010-09-18 Thread James Casey
Hey Rob, we run into this problem too with one of our applications. One application sends several million messages a day, which are processed promptly. For some other queues we have a steady but low rate of messages and intermittent clients which connect occasionally. So we end up with a small (

Re: "Working with Destinations with Stomp" <-- clarification please

2010-08-27 Thread James Casey
Hi James. with Foo.Bar.Baz, you can use wildcard subscriptions such as Foo.Bar.*. with Foo/Bar/Baz, this is seen as a single hierarchical element, so no wildcards would work. cheers, James. -- On 27 August 2010 18:22, James Green wrote: > Hi, > > I'm working with a stomp client and up till no

Re: pyactivemq

2010-07-26 Thread James Casey
On 26 July 2010 18:10:16 UTC+2, Neil Pritchard wrote: > Hi, > > I'm using activemq as an exchange and consumer of amqp messages in a > distributed system that's written largely in python but has some java > components, and a python stomp library for producing messages in the python > components

Re: Centos 5 package

2010-07-20 Thread James Casey
Hi, we at CERN maintain the Fedora packages. You can get the packages for FC12 and up, and RHEL6 and up from Koji: We can't release on RHEL5 due to version differences for apr and the default RHEL5 version being too low. This has b

Re: activemq.conf - import xml tags using XInclude

2010-06-25 Thread James Casey
Charles, you can do this with XML entities. In your activemq.xml put at the top (before the definition): and then you can refer to this simply with: &network-connectors; inside the element. We use in production on activemq 5.3.x. cheers, James. -- On 24 June 2010 10:48, cmoulliard wrote

Re: Strange behavior with VirtualTopic and loadbalancing

2010-06-01 Thread James Casey
Hi Charles, This creates 2 separate virtual subscriptions to the topic, which will create a separate queue for each consumer. What you want is for both to connect to the same destination name 'Consumer.A.VirtualTopic.Orders', just as you would do for a normal load-balanced queue. cheers, James.

Re: Help with mutual authentication using ActiveMQ 5.3

2010-05-27 Thread James Casey
/2010 11:30 AM 592 broker-localhost.cert > 05/11/2010 11:30 AM 1,370 broker.ks > 05/18/2010 03:45 PM 1,284 broker.ts > 05/11/2010 11:30 AM 2,697 camel.xml > 05/11/2010 11:30 AM 1,357 client.ks > 05/11/2010 11:30 AM 665 client.ts > 05/18/2010 03:45 PM 588 client_cert > 05/11/2010 11:30 AM

Re: Which configuration option ?

2010-05-26 Thread James Casey
Hi Gareth, you use the attribute deleteAllMesagesOnStartup="true" on the broker element: cheers, James. On 26 May 2010 16:56, gng wrote: > > I'd like to delete all queues and topics (and all messages in them) when I > restart ActiveMQ. In other word

Re: python lib to use with ActiveMQ

2010-05-26 Thread James Casey
Hi Mark. pyactivemq (http://code.google.com/p/pyactivemq/) used the ActiveMQ C++ library and gives the most coverage over the full feature set. Most of the other python libraries used for communicating to ActiveMQ use STOMP instead of Openwire and don't support JMS (but can interoperate with othe

Re: Finding out when client is offlin

2010-05-25 Thread James Casey
Hi Gary, I've worked up a fix for Advisories via STOMP - the patch is attached to . It's a good start, but could probably do with a bit more work to clean up the message formats - it uses XStream to serialize the DataStructure object (and all th

Re: Broker to Broker authentication using JAAS fails

2010-05-24 Thread James Casey
;>         at >> org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:216) >>         at >> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84) >>         at >> org.apache.activemq.transport.tcp.SslTransport.doCo

Re: Broker to Broker authentication using JAAS fails

2010-05-20 Thread James Casey
Jim, what version of ActiveMQ are you using ? This happened in 5.3 () but should be fixed in > 5.3.1. We have this working in production no problem. I see we express the URL in the NC differently: but that doesn't seem to be the problem.

Re: Fully programmatic authorization map

2010-05-20 Thread James Casey
Hi Jim, What Dejan has pointed you at is the classes that have all the various plugin methods for doing Auth in ActiveMQ by inserting a Broker object into the chain which is called during a connection. It would be possible to write a custom Broker subclass here that does what you want, but I thin

Re: Help with mutual authentication using ActiveMQ 5.3

2010-05-19 Thread James Casey
Hi Mohan, can you send your entire activemq.xml ? I think it could be caused by Jetty connecting to activemq for the admin webapp. Firstly could you try and disable Jetty completely and see if the problem goes way. cheers, James. -- On 19 May 2010 00:19, mvtiru wrote: > > Hi, > I am trying t

Re: ActiveMQ running on Amazon EC2 (Elastic Compute Cloud)

2010-04-06 Thread James Casey
Hi Dejan, we've done a lot of work on packaging nice rpms (for FUSE releases) which fit in well to the linux file system hierarchy[1]. Currently the starting point for our packaging is a binary tarball, but getting it generated from maven would be nice. We'd be interested in contributing what we

Re: Problems with Virtual Topics

2010-04-01 Thread James Casey
On 1 April 2010 16:04, Shyam Santhanam wrote: > > There are a few more observations I've made while trying to debug this. > We've > noticed that sometimes the messages received from the consumer queues have > JMSDestination set to the VirtualTopic name, and at other times they have > the consumer

Re: Client Certificate not sent in activemq 5.3.0

2010-01-02 Thread James Casey
Hi Marc, We have this configuration working (SSL between brokers with certificate based authentication and client certificate checking) - it relied on AMQ-2474 () being fixed, which looks like it's in 5.3.1 (We're using Fuse 5.3.0.5 and it works

Re: deployment of hundreds of client. broker name configuration problem?

2009-12-04 Thread James Casey
Hi Sebastian, An easy way is to modify the bin/activemq script to pass across an activemq.hostname parameter. e.g. in bin/activemq, add: ACTIVEMQ_HOSTNAME=`hostname -f` and then in the line : exec "$JAVACMD" $ACTIVEMQ_DEBUG_OPTS $ACTIVEMQ_OPTS -Dactivemq.classpath="${ ACTIVEMQ_CLASSPATH}" -Da

Re: MapMessages from Python to Java

2009-11-02 Thread James Casey
Hi Dan, The code should look like : import stomp dest='/queue/MQ-X.1234.X-1.RadarTracks' # [1] conn = stomp.Connection([('localhost',61616)]) # [2] conn.start() conn.connect() message = {'field1' : 'foo', 'field2' : 'bar'} conn.send(message, destination=dest, headers={'transformatio

Re: MapMessages from Python to Java

2009-10-30 Thread James Casey
take a look at PHP example here > http://stomp.fusesource.org/documentation/php/book.html#_message_transformation > > Cheers > -- > Dejan Bosanac - http://twitter.com/dejanb > > Open Source Integration - http://fusesource.com/ > ActiveMQ in Action - http://www.manning.com/snyder/ &g

Re: MapMessages from Python to Java

2009-10-30 Thread James Casey
Hi Dan, for stomp.py, here's the code snippet to do what you need to do: dest='/queue/test.foo' conn = stomp.Connection([(HOST,PORT)]) conn.start() conn.connect() message = {'field1' : 'foo', 'field2' : 'bar'} conn.send(message, destination=dest, headers={'transformation'

Re: PERL/STOMP: How to Request Response

2009-10-14 Thread James Casey
f a hack but will work until we can fix the protocol. Hope this helps, James. -- 2009/10/14 James Casey > Hi Dejan, > > I've been looking in this area and think I see the problem. > > When I create a consumer on a temp queue using STOMP, e.g. > /temp-queue/my-queue the

Re: PERL/STOMP: How to Request Response

2009-10-14 Thread James Casey
Hi Dejan, I've been looking in this area and think I see the problem. When I create a consumer on a temp queue using STOMP, e.g. /temp-queue/my-queue the broker creates an internal queue called, e.g. /remote-temp-queue/ID:vtb-generic-51.cern.ch-58055-1255502987724-4:1:1 If I go and look via JMX

Re: Setting up Message level encryption

2009-10-02 Thread James Casey
Hi Priya, ActiveMQ doesn't directly support message-level encryption.I consider this to be in the application domain. For example, we currently do message levelencryption/decrpytion of the body of messages for some of our applications using openssl call directly in the clients (python). You s

Re: C integration with openwire

2009-05-17 Thread James Casey
2009/5/15 Ricardo Clemente > Hi, > > I'm working on a module to consume all Nagios events and publish then > to activemq ( I would be glad to share this as soon as I complete it). > The module is written in C and my first idea was to use Openwire C > client. The motivation over other options as t