[ 
https://issues.apache.org/jira/browse/QPID-4562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Goldstein updated QPID-4562:
---------------------------------

    Description: 
It would be nice to be able to write

message.reply_to = "exchange/subject; {...}"

Message#reply_to= currently requires its argument to be an instance of the 
Address class. It would be nice if it would check the class, and if it's a 
String, wrap it in an Address automatically.

  was:The qpid_messaging gem currently requires the argument passed to 
message.reply_to= to be an Address. The other languages (c++, python) allow you 
to pass a string to reply_to=. When trying to construct an address using 
Qpid::Messaging::Address.new('qmf.default.topic', 'direct.xyz', :node => {:type 
=> :topic}), Ruby segfaults because of a problem converting a string to a map. 
It would be nice if it were possible to simply pass a string to 
Message#reply_to=.

        Summary: Message#reply_to= should auto-wrap the address argument in an 
Address if the argument is a String  (was: qpid_messaging gem doesn't support 
message.reply_to = 'name/subject; {node:{...}}')
    
> Message#reply_to= should auto-wrap the address argument in an Address if the 
> argument is a String
> -------------------------------------------------------------------------------------------------
>
>                 Key: QPID-4562
>                 URL: https://issues.apache.org/jira/browse/QPID-4562
>             Project: Qpid
>          Issue Type: Bug
>          Components: Ruby Client
>            Reporter: Andy Goldstein
>            Priority: Minor
>
> It would be nice to be able to write
> message.reply_to = "exchange/subject; {...}"
> Message#reply_to= currently requires its argument to be an instance of the 
> Address class. It would be nice if it would check the class, and if it's a 
> String, wrap it in an Address automatically.

--
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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to