JMS Docs???

View: New views
5 Messages — Rating Filter:   Alert me  

JMS Docs???

by magellings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Where can one find a link to the JMS Docs???  I'd like to get a better understanding of some of the JMS specs so I can better understand various features, etc with ActiveMQ.

Timothy states "From JMS Docs on ClientAcknowledge" in this issue.  Where does one find this information?

Found this regarding acknowledgement modes/transactions, but probably is not authentic as seems like a Sun version of JMS.

http://docs.sun.com/app/docs/doc/820-5205/aeqbj?a=view 

I'm looking for full documentation however not just acknowledgement modes.

-Thanks

Re: JMS Docs???

by Timothy Bish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-30 at 08:41 -0700, magellings wrote:

> Where can one find a link to the JMS Docs???  I'd like to get a better
> understanding of some of the JMS specs so I can better understand various
> features, etc with ActiveMQ.
>
> Timothy states "From JMS Docs on ClientAcknowledge" in this issue.  Where
> does one find this information?
>
> Found this regarding acknowledgement modes/transactions, but probably is not
> authentic as seems like a Sun version of JMS.
>
> http://docs.sun.com/app/docs/doc/820-5205/aeqbj?a=view 
>
> I'm looking for full documentation however not just acknowledgement modes.
>
> -Thanks

The JMS Spec docs are here: http://java.sun.com/products/jms/docs.html

The bit that I quoted in the issue was from the javadocs in the
Session.java interface.

Regards
Tim.

--
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/




Re: JMS Docs???

by magellings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How come individual acknowledgement mode isn't documented?

4.4.11 Message Acknowledgment
If a session is transacted, message acknowledgment is handled automatically
by commit, and recovery is handled automatically by rollback.
If a session is not transacted, there are three acknowledgment options, and
recovery is handled manually:
• DUPS_OK_ACKNOWLEDGE - This option instructs the session to lazily
acknowledge the delivery of messages. This is likely to result in the delivery
of some duplicate messages if JMS fails, so it should be used only by
consumers that are tolerant of duplicate messages. Its benefit is the
reduction of session overhead achieved by minimizing the work the session
does to prevent duplicates.
• AUTO_ACKNOWLEDGE - With this option, the session automatically
acknowledges a client’s receipt of a message when it has either successfully
returned from a call to receive or the MessageListener it has called to process
the message successfully returns.
• CLIENT_ACKNOWLEDGE - With this option, a client acknowledges a
message by calling the message’s acknowledge method. Acknowledging a
consumed message automatically acknowledges the receipt of all messages
that have been delivered by its session.

Timothy Bish wrote:
On Fri, 2009-10-30 at 08:41 -0700, magellings wrote:
> Where can one find a link to the JMS Docs???  I'd like to get a better
> understanding of some of the JMS specs so I can better understand various
> features, etc with ActiveMQ.
>
> Timothy states "From JMS Docs on ClientAcknowledge" in this issue.  Where
> does one find this information?
>
> Found this regarding acknowledgement modes/transactions, but probably is not
> authentic as seems like a Sun version of JMS.
>
> http://docs.sun.com/app/docs/doc/820-5205/aeqbj?a=view 
>
> I'm looking for full documentation however not just acknowledgement modes.
>
> -Thanks

The JMS Spec docs are here: http://java.sun.com/products/jms/docs.html

The bit that I quoted in the issue was from the javadocs in the
Session.java interface.

Regards
Tim.

--
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/



Re: JMS Docs???

by bsnyder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, Oct 30, 2009 at 12:14 PM, magellings <mark.gellings@...> wrote:
>
> How come individual acknowledgement mode isn't documented?

Because INDIVIDUAL_ACKNOWLEDGEMENT is not part of the JMS spec. It's
an ActiveMQ only feature.

Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Re: JMS Docs???

by Timothy Bish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-30 at 11:14 -0700, magellings wrote:
> How come individual acknowledgement mode isn't documented?
>

The individual acknowledge mode is an ActiveMQ specific mode not
supported directly by the JMS spec so you won't find anything in there
about that.  Individual Ack is pretty much exactly what it sounds like,
it acknowledges only a single message upon calling message.acknowledge()
as opposed to client ack which acks all messages received in the session
up to that point.  

> 4.4.11 Message Acknowledgment
> If a session is transacted, message acknowledgment is handled automatically
> by commit, and recovery is handled automatically by rollback.
> If a session is not transacted, there are three acknowledgment options, and
> recovery is handled manually:
> • DUPS_OK_ACKNOWLEDGE - This option instructs the session to lazily
> acknowledge the delivery of messages. This is likely to result in the
> delivery
> of some duplicate messages if JMS fails, so it should be used only by
> consumers that are tolerant of duplicate messages. Its benefit is the
> reduction of session overhead achieved by minimizing the work the session
> does to prevent duplicates.
> • AUTO_ACKNOWLEDGE - With this option, the session automatically
> acknowledges a client’s receipt of a message when it has either successfully
> returned from a call to receive or the MessageListener it has called to
> process
> the message successfully returns.
> • CLIENT_ACKNOWLEDGE - With this option, a client acknowledges a
> message by calling the message’s acknowledge method. Acknowledging a
> consumed message automatically acknowledges the receipt of all messages
> that have been delivered by its session.
>
>
> Timothy Bish wrote:
> >
> > On Fri, 2009-10-30 at 08:41 -0700, magellings wrote:
> >> Where can one find a link to the JMS Docs???  I'd like to get a better
> >> understanding of some of the JMS specs so I can better understand various
> >> features, etc with ActiveMQ.
> >>
> >> Timothy states "From JMS Docs on ClientAcknowledge" in this issue.  Where
> >> does one find this information?
> >>
> >> Found this regarding acknowledgement modes/transactions, but probably is
> >> not
> >> authentic as seems like a Sun version of JMS.
> >>
> >> http://docs.sun.com/app/docs/doc/820-5205/aeqbj?a=view 
> >>
> >> I'm looking for full documentation however not just acknowledgement
> >> modes.
> >>
> >> -Thanks
> >
> > The JMS Spec docs are here: http://java.sun.com/products/jms/docs.html
> >
> > The bit that I quoted in the issue was from the javadocs in the
> > Session.java interface.
> >
> > Regards
> > Tim.
> >
> > --
> > Tim Bish
> > http://fusesource.com
> > http://timbish.blogspot.com/
> >
> >
> >
> >
> >
>
--
Tim Bish
http://fusesource.com
http://timbish.blogspot.com/