forked from hibernating-rhinos/rhino-esb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIMsmqTransport.cs
24 lines (20 loc) · 954 Bytes
/
IMsmqTransport.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Messaging;
using Rhino.ServiceBus.Impl;
using Rhino.ServiceBus.Msmq;
namespace Rhino.ServiceBus.Internal
{
public interface IMsmqTransport : ITransport
{
void RaiseAdministrativeMessageProcessingCompleted(CurrentMessageInformation information, Exception ex);
bool RaiseAdministrativeMessageArrived(CurrentMessageInformation information);
void ReceiveMessageInTransaction(OpenedQueue queue,
string messageId,
Func<CurrentMessageInformation, bool> messageArrived,
Action<CurrentMessageInformation, Exception> messageProcessingCompleted,
Action<CurrentMessageInformation> beforeMessageTransactionCommit,
Action<CurrentMessageInformation> beforeMessageTransactionRollback);
void RaiseMessageSerializationException(OpenedQueue queue, Message msg, string errorMessage);
OpenedQueue CreateQueue();
}
}