Apache.NMS.ActiveMQ.Commands.ProducerId.ProducerId C# (CSharp) Method

ProducerId() public method

public ProducerId ( string producerKey ) : System
producerKey string
return System
        public ProducerId(string producerKey)
        {
            // Parse off the producerId
            int p = producerKey.LastIndexOf(":");
            if(p >= 0)
            {
                value = Int64.Parse(producerKey.Substring(p + 1));
                producerKey = producerKey.Substring(0, p);
            }
        }

Same methods

ProducerId::ProducerId ( ) : System
ProducerId::ProducerId ( SessionId sessionId, long consumerId ) : System