[jboss-as7-dev] Why is JMS message persistence disabled by default?

Ståle W. Pedersen stale.pedersen at jboss.org
Wed Apr 20 04:21:24 EDT 2011


ah, yes. you are probably right. i misunderstood.

ståle
On Wed, 2011-04-20 at 13:43 +0530, Jaikiran Pai wrote:
> My understanding was that the EJB JMS integration (via MDBs) isn't 
> supported but other than that, JMS is functional. For example, simple 
> JMS consumers and producers.
> 
> -Jaikiran
> On Wednesday 20 April 2011 01:39 PM, Ståle W. Pedersen wrote:
> > afaik jms isnt supported in the beta3 release?
> > there are several unresolved tasks to get this working?
> > https://issues.jboss.org/browse/JBAS-8967
> > https://issues.jboss.org/browse/JBAS-9122
> > https://issues.jboss.org/browse/JBAS-8971
> >
> >
> > On Wed, 2011-04-20 at 13:29 +0530, Jaikiran Pai wrote:
> >> The JMS message requirements
> >> http://download.oracle.com/javaee/6/tutorial/doc/bncfu.html state
> >> that:
> >>
> >> "The most reliable way to produce a message is to send a PERSISTENT
> >> message within a transaction. *JMS messages are PERSISTENT by
> >> default*".
> >>
> >> However, currently while testing 7.0.0.Beta3 I noticed that this isn't
> >> the case. Sending out 3 messages to a queue and restarting the server
> >> loses the messages. Before restarting I did use the JConsole to make
> >> sure that the message count shows up correctly and it did. On restart
> >> I see the count reset to 0. Looking at the messaging subsystem, I
> >> notice that we have set:
> >>
> >>              <!-- disable messaging persistence -->
> >>              <persistence-enabled>false</persistence-enabled>
> >>
> >> This shouldn't be the case, since it breaks JMS spec out of the box.
> >> By the way, I tried setting it to persistence-enabled=true and testing
> >> this whole flow again. But I still see the message count reset to 0 on
> >> a server restart. I'll see if I can figure out why the
> >> persistence-enabled flag change isn't taking effect.
> >>
> >> -Jaikiran
> >> _______________________________________________
> >> jboss-as7-dev mailing list
> >> jboss-as7-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> >
> 

-- 
Ståle W. Pedersen
Principal Software Developer
JBoss, of Red Hat




More information about the jboss-as7-dev mailing list