You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Bruno Bieth (JIRA)" <ji...@apache.org> on 2012/12/26 16:30:12 UTC

[jira] [Commented] (VYSPER-74) Use the given bind resource from the client (if provided)

    [ https://issues.apache.org/jira/browse/VYSPER-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539561#comment-13539561 ] 

Bruno Bieth commented on VYSPER-74:
-----------------------------------

Ah.. a shame 'cause it makes much more sense to take the provided resource name into account (my app relies on it).
The spec actually encourages that behavior: "A server SHOULD accept the resource identifier provided by the client".

                
> Use the given bind resource from the client (if provided)
> ---------------------------------------------------------
>
>                 Key: VYSPER-74
>                 URL: https://issues.apache.org/jira/browse/VYSPER-74
>             Project: VYSPER
>          Issue Type: Improvement
>          Components: client compatibility
>            Reporter: David Phillips
>            Assignee: Bernd Fondermann
>            Priority: Minor
>         Attachments: resourcebinding.patch
>
>
> If the client provides a resource name to bind we should use it, instead of just assigning a UUID and ignoring theirs.  This patch fixes that.  It also checks for dups, and attaches a UUID onto the end of their suggested one.
> Ive changed the way Entity and ResourceId are related. Instead of a resource being represented as a String, Ive represented it always as an Entity.  I think its much cleaner this way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira