Thanks, I figured it was something simple.
- Brian
> -----Original Message-----
> From: Andreas Mueller [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 20, 2000 12:56 PM
> To: [EMAIL PROTECTED]
> Subject: [developers] Non-persistent messages
>
>
>
>
> > I'm trying to send a non-persistent message to a queue like so:
> >
> > ObjectMessage obj = session.createObjectMessage();
> > obj.setJMSDeliveryMode( DeliveryMode.NON_PERSISTENT );
> >
> > However, I see the object appear in the
> backstore/persistent directory.
> > Is
> > there something else I have to do to make a message non-persistent?
>
> According to the spec, the setJMSDeliveryMode is used by the provider
> only to set the delivery mode (= default delivery mode of the
> producer)
> when sending the message. The client must use either one of the
> send/publish methods which have a delivery mode parameter or
> must use the
> setDeliveryMode of the MessageProducer to change the default
> value for
> all messages send with this producer.
>
> --
> Andreas Mueller, [EMAIL PROTECTED], IIT GmbH, Bremen/Germany,
http://www.iit.de
SwiftMQ, JMS Enterprise Messaging System, http://www.swiftmq.com
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/
------------------------------------------------------
SwiftMQ developers mailing list * http://www.swiftmq.com
To unsubscribe from this list, send an eMail to
[EMAIL PROTECTED] and write in the body of your message:
UNSUBSCRIBE developers <your-email-address>
Archive: http://www.mail-archive.com/developers@mail.iit.de/