public void Setup()
 {
     //ConnectionFactory cf = new ConnectionFactory("tcp://localhost:7222");
     //Connection c = cf.CreateConnection();
     //Session tibcoSession = null;// c.CreateSession(false, SessionMode.AutoAcknowledge);
     mocks = new MockRepository();
     session = (ISession) mocks.CreateMock(typeof (ISession));
     converter = new SimpleMessageConverter();
 }
Ejemplo n.º 2
0
 /// <summary> Initialize the default implementations for the template's strategies:
 /// DynamicDestinationResolver and SimpleMessageConverter.
 /// </summary>
 protected virtual void InitDefaultStrategies()
 {
     MessageConverter = new SimpleMessageConverter();
 }