[
https://issues.apache.org/jira/browse/TUSCANY-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576594#action_12576594
]
Simon Nash commented on TUSCANY-2055:
-------------------------------------
This spec ambiguity was raised with the OASIS SCA-J TC as issue JAVA-31. The
resolution interprets the spec in the way that Simon Laws has suggested and was
as follows. All line numbers and section numbers refer to the current OASIS
working draft of the Java Common Annotations and APIs spec dated 2/28/08.
- - - - - begin OASIS resolution - - - - -
Replace lines 363-367 with the following:
Whether the conversation ID is chosen by the user or is generated by the
system, the client
may access the conversation ID by calling getConversationID() on the current
conversation object.
Replace lines 780-781 with the following:
getConversationID() - Returns the id supplied by the user that will be
associated with
future conversations initiated through this reference, or null if no ID has
been set by the user.
Replace lines 782-785 (section 7.4 ServiceReference) with the following:
setConversationID(Object conversationId) - Set an ID, supplied by the user, to
associate with any future conversation
started through this reference. If the value supplied is null then the id will
be generated
by the implementation. Throws an IllegalStateException if a conversation is
currently
associated with this reference.
> ServiceReference.getConversationID() not returning generated conversation IDs
> -----------------------------------------------------------------------------
>
> Key: TUSCANY-2055
> URL: https://issues.apache.org/jira/browse/TUSCANY-2055
> Project: Tuscany
> Issue Type: Bug
> Components: Specification
> Affects Versions: Java-SCA-Next
> Reporter: Kevin Williams
> Assignee: Simon Laws
> Fix For: Java-SCA-Next
>
>
> ServiceReference.getConversationID() returns null unless the Conversation ID
> is set by the user.
> This is the current implementaiton:
> public Object getConversationID() {
> return conversationID;
> }
> It seems that that if the cached ID is null, and there is a valid related
> Converasation object then the impl should return the related
> Conversation.getConversationID.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]