ws-muse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mohammad Fakhar (JIRA)" <>
Subject [jira] Created: (MUSE-151) WS-Topics Muse implementation should support messageType and messagePattern constraints
Date Mon, 27 Nov 2006 19:04:20 GMT
WS-Topics Muse implementation should support messageType and messagePattern constraints

                 Key: MUSE-151
             Project: Muse
          Issue Type: Improvement
    Affects Versions: 2.1.0
         Environment: any
            Reporter: Mohammad Fakhar
         Assigned To: Dan Jemiolo
            Priority: Minor

The WS-Topics spec defines messageTypes and messagePattern options for specifying message
type constraints on a topic at declaration time.
The following are snippets from the spec for these two options:

1) "/wstop:Topic/@messageTypes 
An optional list of the QNames of XML elements that define the types of NotificationMessage

that may be used with the Topic. A Publisher using a given Topic MUST NOT generate a 
NotificationMessage whose type is not included in this list, although the special value xsd:any

indicates that any NotificationMessage type MAY be used. A given QName MAY appear 
multiple times in the list; second or subsequent appearance of a given QName are not 
meaningful and MAY BE ignored. If this list is empty, or the attribute not defined, the default

value ofxsd:any is assumed."

2) "/wstop:Topic/MessagePattern 
An optional QueryExpression as defined by WS-ResourceProperties. This QueryExpression 
is used to describe the pattern of the message that will appear on the Topic. Conceptually,

the MessagePattern component can be thought of as the object of an boolean() expression, 
evaluated against a NotificationMessage. This boolean() expression, with the value of 
MessagePattern as parameter, is guaranteed to evaluate to "true" when evaluated in the 
context of any NotificationMessage that is associated with the Topic. The MessagePattern 
component constrains the NotificationMessages that can be used with the Topic. It is 
additional to the constraint contained in @messageTypes, and provides a further refinement

to that constraint."

These two opttions are not supported by Muse's Ws-Topics implementation currently; they are
optional and
can be added as an improvement to the WS-Topics support in Muse. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message