OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

amqp-bindmap message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (AMQPBINDMAP-42) Document an amqp error code for attempt to attach a receiver to JMS temporary destination created on different connection


Oleksandr Rudyy created AMQPBINDMAP-42:
------------------------------------------

             Summary: Document an amqp error code for attempt to attach a receiver to JMS temporary destination created on different connection
                 Key: AMQPBINDMAP-42
                 URL: https://issues.oasis-open.org/browse/AMQPBINDMAP-42
             Project: OASIS Advanced Message Queuing Protocol (AMQP) Bindings and Mappings (AMQP-BINDMAP) TC
          Issue Type: Improvement
          Components: JMS Mapping
    Affects Versions: wd09
            Reporter: Oleksandr Rudyy
            Priority: Minor


AMQP binding specification documents the JMS temporary destinations in section "5.3 Temporary Destinations" (Working Draft 9). It defines terminus properties which are required to be set on creation of temporary destinations, lifecycle, etc. However, it does not define amqp error for attempt to attach a consumer to a temporary destination created on a different connection. 

As per JMS 2.0 specification section "6.2.2 Creating temporary destinations" only consumers from connection created temporary destination
{quote}
Temporary destinations (TemporaryQueue or TemporaryTopic objects) are destinations that are system-generated uniquely for their connection.
Only their own connection is allowed to create consumer objects for them. 
{quote}

AMQP JMS bidning can be extended to specify an expected AMQP error code which should be returned a part of detach on attempt to attach a receiver to JMS temporary destination which was created on a different connection.

AMQP error "amqp:resource-locked" is the most appropriate error to be returned in this case.
As per AMQP specification section "2.8.15 AMQP Error"
{quote}
The client attempted to work with a server entity to which it has no access because another
client is working with it.
{quote}



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]