Re: Starting WebConsole .war in embedded Jetty and vm:// broker.. JNDI config?

2011-05-25 Thread neek
On 05/25/2011 06:15 PM, Dejan Bosanac [via ActiveMQ] wrote: > For a web console, you need jmx url as well Appreciate your response :) just a quick report... On a whim, I tried JConsole, and was surprised to find the queues are visible via the MBeans panel. I had thought JConsole was the same as

Re: Alerts when failover (JDBC Master Slave) occurs

2011-05-25 Thread Gary Tully
afraid not, there is currently no support for a handler when a lock is acquired. However, the default database locker is plugable so you could extend and provide your own implementation that can alerts when it acquires the lock. All contributions are most welcome in this regard. To peek at the cu

ActiveMQ integration with WebSphere MQ

2011-05-25 Thread peterjca
I'm spiking a blocker on my current project, now that the client has provided us with further information regarding how we integrate with them via messaging queues. I've been googling and reading for a day or so, and I'm not 100% convinced that I've found evidence that I can integrate ActiveMQ with

Re: Queue/Message Fairness as oppose to Client Fairness

2011-05-25 Thread Gary Tully
tracked via: https://issues.apache.org/jira/browse/AMQ-3335 On 25 May 2011 15:09, Gary Tully wrote: > unfortunately that is not configurable via the xml, you would need to > use a spring bean or via code provide a value for > org.apache.activemq.broker.BrokerService#setTaskRunnerFactory > > On 24

Transaction issues

2011-05-25 Thread lexsoto
Hello: I am experiencing issues using AMQ 5.5 in a container environment (JBoss 5.1) with XA transactions. One of the errors I am seeing in the JBoss side is: 2011-05-25 10:30:18,768 WARN [org.apache.activemq.ra.ActiveMQManagedConnection] (ActiveMQ Connection Executor: tcp://usmia-jmsdev02.crcpre

Alerts when failover (JDBC Master Slave) occurs

2011-05-25 Thread janne postilista
I can configure ActiveMQ master/slave failover so that when my active master instance fails, it releases a database lock, then a slave instance grabs the lock and starts processing messages: http://activemq.apache.org/jdbc-master-slave.html Does this feature support alerts when failover happens, f

Re: Queue/Message Fairness as oppose to Client Fairness

2011-05-25 Thread Gary Tully
unfortunately that is not configurable via the xml, you would need to use a spring bean or via code provide a value for org.apache.activemq.broker.BrokerService#setTaskRunnerFactory On 24 May 2011 21:11, vdevadhar wrote: >> To get more control of the scheduling, you will need to specify the >> Ta

Re: Running 2 instances of AMQ on the same machine

2011-05-25 Thread Jason Whaley
I'm not sure if it applies in your case since you are embedding your broker, but there is also the web console for activemq that would need its port changed. http://activemq.apache.org/web-console.html On Wed, May 25, 2011 at 12:10 AM, padmarag lokhande wrote: > You need to check the ports in co

Re: Starting WebConsole .war in embedded Jetty and vm:// broker.. JNDI config?

2011-05-25 Thread Dejan Bosanac
For a web console, you need jmx url as well Something like this should work -Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi -Dwebconsole.jmx.user="" -Dwebconsole.jmx.password="" Regards -- Dejan Bosanac - http://twitter.com/dejanb - The experts in open

Re: Starting WebConsole .war in embedded Jetty and vm:// broker.. JNDI config?

2011-05-25 Thread neek
Dejan Bosanac wrote: > > if you're using jndi, you need to se connection factory and other params > using jndi (see > http://activemq.apache.org/web-console.html#WebConsole-ConfigureusingJNDI) > > -Dwebconsole.jms.url=vm://myapp > -Dwebconsole.type=properties > > will work if you're using syste

Re: Starting WebConsole .war in embedded Jetty and vm:// broker.. JNDI config?

2011-05-25 Thread Dejan Bosanac
Hi, if you're using jndi, you need to se connection factory and other params using jndi (see http://activemq.apache.org/web-console.html#WebConsole-ConfigureusingJNDI) -Dwebconsole.jms.url=vm://myapp -Dwebconsole.type=properties will work if you're using system properties to set your web console

Re: Scheduler Broken?

2011-05-25 Thread Dejan Bosanac
Create a test case that reproduces the problem. Take a look at JmsSchedulerTest for an example https://fisheye6.atlassian.com/browse/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/broker/scheduler/JmsSchedulerTest.java?hb=true