[rabbitmq-discuss] [.net client] exception using IBasicProperties
Steven Taylor
taylste at gmail.com
Wed Jan 18 06:03:29 GMT 2012
So basic properties gets set in a message processing loop. Now I want to
query it. Looks like the sender forgot to set basic properties correctly.
IBasicProperties basicProperties = ...;
if (basicProperties.ReplyToAddress != null)
{
...
}
... but... do you think that I should receive an
ArgumentNullException? The easy way around this would be to create a
wrapper. Just thought I'd mention it.
System.ArgumentNullException: Value cannot be null.
Parameter name: input
at System.Text.RegularExpressions.Regex.Match(String input)
at RabbitMQ.Client.PublicationAddress.Parse(String uriLikeString)
at RabbitMQ.Client.Impl.BasicProperties.get_ReplyToAddress()
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120118/67b13745/attachment.htm>
More information about the rabbitmq-discuss
mailing list