Example #1
0
 public TibcoMessageSelector(TibcoEndpoint endpoint, Session session, Message transportMessage, IMessageSerializer serializer)
 {
     _endpoint         = endpoint;
     _session          = session;
     _transportMessage = transportMessage;
     _serializer       = serializer;
 }
        private IEndpoint Create()
        {
            Guard.Against.Null(Uri, "No Uri was specified for the endpoint");
            Guard.Against.Null(SerializerType, "No serializer type was specified for the endpoint");

            IMessageSerializer serializer = GetSerializer();

            IEndpoint endpoint = new TibcoEndpoint(Uri, serializer);

            return(endpoint);
        }