rabbitmq / rabbitmq-stomp

RabbitMQ STOMP plugin
https://www.rabbitmq.com/stomp.html
Other
49 stars 28 forks source link

message-id format (Apache NMS STOMP) #93

Closed DaveSenn closed 8 years ago

DaveSenn commented 8 years ago

Apache NMS STOMP cannot handle the format of the message-id field. NMS expects a specific format and since the message-id (MESSAGE frame) returns by the broker does not match this format NMS will throw an exception.

Is there a way to make the RabbitMQ-STOMP-Plug-In “compatible” with the NMS STOMP library?

NMS Code of parsing the message-id field:

var messageKey = "message-id-field"
var p = messageKey.LastIndexOf( ":" );
if ( p >= 0 )
    ProducerSequenceId = Int64.Parse( messageKey.Substring( p + 1 ) );
michaelklishin commented 8 years ago

Please post questions to rabbitmq-users or Stack Overflow. RabbitMQ uses GitHub issues for specific actionable items engineers can work on, not questions. Thank you.

michaelklishin commented 8 years ago

There is no way to customize message-id. Its format is not defined in the STOMP spec.