StompConnect which JBoss: please add required JBoss version to example script

2009-02-11 Thread mjustin
Hello, I tried to run the example script on http://stomp.codehaus.org/StompConnect+with+JBoss to test a STOMP connection to JBoss. I downloaded the latest 5.0 and 4 GA versions and JBoss Messaging 2 and 1.X, but I could not find all neccessary JAR files - some names seem to have changed, and some

Re: Messages rollback

2009-02-11 Thread Dave Stanley
You can created a transacted jms session and either commit() or rollback() that session. See: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/test/java/org/apache/activemq/JmsTransactionTestSupport.java?view=markup Regards /Dave On Wed, Feb 11, 2009 at 8:45 PM, jzhang1 wrote: > >

Re: Net::Stomp throwing error when connecting to ActiveMQ

2009-02-11 Thread sunil_mlec
I have commented out $stomp->send ( { destination => 'foo', body => 'test message' } ); Even then, the same result. The problem is with $stomp->connect(); Thanks. Roger Hoover wrote: > > Maybe foo is not a valid destination and should be /queue/foo ? > > On 2/11/09, sunil_mlec wrote: >> >>

JMX remote managmentContext and firewall

2009-02-11 Thread yinghe0101
First, I want to clarify the requirements I have: 1. use a remote box jconsole to control activemq 2. use ssl for jmx 3. use ldap login authentication for jmx 4. activemq instance is running on a firewall protected machine which restrict ports very careful All 1-3 is doable when I use SUNJMX to

Re: createQueue for permanent queues

2009-02-11 Thread Timothy Bish
On Wed, 2009-02-11 at 18:29 -0800, OneBigHack wrote: > I tested this and it seems to work, but I want to make sure... > > in 5.2, If I have a permanent queue, with messages in it, and I call > createQueue(fooQueueName), will anything bad happen? Will it erase the > queue, and recreate it? What i

createQueue for permanent queues

2009-02-11 Thread OneBigHack
I tested this and it seems to work, but I want to make sure... in 5.2, If I have a permanent queue, with messages in it, and I call createQueue(fooQueueName), will anything bad happen? Will it erase the queue, and recreate it? What if a process calls createQueue(fooQueueName) when fooQueue is b

Messages rollback

2009-02-11 Thread jzhang1
ActiveMQ guru, I am curious whether ActiveMQ broker provide backout all enqueue and dequeue functions calls that have occurred since the last syncpoint are to be backed out. Messages put as part of a unit of work are deleted; messages retrieved as part of a unit of work are reinstated on the q

Expired messages are not being removed from queues

2009-02-11 Thread mcarter
Hi everyone, I've recently been trying to sort out a problem whereby my message queues are seizing up. Essentially after a certain number of messages get put into a queue, the whole queue seems to freeze up. That issue aside, the reason it was filling up in the first place was that expired messag

Re: ConcurrentModificationException while closing consumer

2009-02-11 Thread Gary Tully
the fix can be seen in the linked subversion commits tab of the issue: https://issues.apache.org/activemq/browse/AMQ-2100?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel click on the modified files links to see the diffs. 2009/2/10 bonnyr : > > Gary, > > Agreed about the

Re: 5.2.0 dequeue counter=0 pending queue stalls

2009-02-11 Thread gtamir
Encountering similar situation. Found it was sufficient to just delete the kaha store to cause listeners to start picking up messages (stop ActiveMQ 5.2 final, delete data/kr-store and restart ActiveMQ). Switched to using Derby as a JDBC data store instead of the kaha store - no improvement. th

Re: Persistence DDL

2009-02-11 Thread Dave Stanley
I think this might be it .. http://activemq.apache.org/jdbc-support.html On Tue, Feb 10, 2009 at 2:28 PM, Aaron Mulder wrote: > I seem to remember a page on the ActiveMQ site that discussed the > specific tables/columns used or needed in a database used as a JDBC > persistent store. But I can'

what's the relationship between amq:broker and amq:connectionFactory ?

2009-02-11 Thread elhanan
hi... afer many expreiments, i found out i could use this in spring: this also works if i remove the broker element, but then the jvm won't shutdown.. why did the activemq used this:? what are transport connectors? -- View this message in cont

How to specify SSL Ciphers

2009-02-11 Thread mrh
According to JSSE, it is possible to specify cipher suites in the SSLSocket class: http://java.sun.com/j2se/1.5.0/docs/api/javax/net/ssl/SSLSocket.html Is it possible in the ActiveMQConnectionFactory to access this property so that we can set the cipher suites for communication with the broker?

Re: Net::Stomp throwing error when connecting to ActiveMQ

2009-02-11 Thread Roger Hoover
Maybe foo is not a valid destination and should be /queue/foo ? On 2/11/09, sunil_mlec wrote: > > use Net::Stomp; > my $stomp = Net::Stomp->new( { hostname => 'localhost', port => '61613' } > ); > $stomp->connect( { login => 'guest', passcode => 'guest' } ); > $stomp->send( > { dest

Problem with redelivery (AQ 5.1)

2009-02-11 Thread Dietmar Calmbach
Hi there, i configured the active mq connection factory via spring in the following way: I debugged that the Policy is set correct whe

Net::Stomp throwing error when connecting to ActiveMQ

2009-02-11 Thread sunil_mlec
use Net::Stomp; my $stomp = Net::Stomp->new( { hostname => 'localhost', port => '61613' } ); $stomp->connect( { login => 'guest', passcode => 'guest' } ); $stomp->send( { destination => 'foo', body => 'test message' } ); $stomp->disconnect; I am using ActiveMQ 5.2.0 version. When

Re: How to configure embedded Jetty ?

2009-02-11 Thread Dejan Bosanac
Hi, ActiveMQ uses Jetty XBean support for this kind of configuration. You can see all supported tags at the following url http://www.filewatcher.com/p/jetty-6.1.9.tbz.15598076/jetty/project-website/project-site/src/site/resources/jetty.xsd.html.html if Jetty doesn't support configuration options

Re: STOMP: broker sends "transformation" header for TextMessage

2009-02-11 Thread Dejan Bosanac
Hi, I added a message-type MESSAGE header to the list of Stomp 1.1 ideas http://docs.codehaus.org/display/STOMP/Stomp+v1.1+Ideas#Stompv1.1Ideas-Messagetypes This should be enough to solve the use cases you described. I hope we'll have Stomp 1.1 spec and ActiveMQ implementation ready for 6.0 rele

How to configure embedded Jetty ?

2009-02-11 Thread shridharv
I need to configure Jetty's threadpool and connector parameters like minresourcecount, within ActiveMQ. Started with a problem with Jetty's default thread usage being higher than needed. Tried different things, did not work.. A sample would help thanks -- View this message in context: http:/

Re: ConcurrentModificationException while closing consumer

2009-02-11 Thread bonnyr
Rob, Like in a sliding window protocol, an acknowledged message acks all before it (by the same consumer). I guess I'm assuming either one consumer per session on the consuming client side or some way to track this on a per session basis in case there are multiple consumers. Cheers, Bonny raj