Skip to content
Permalink
Browse files
Added API method to ISession and IMessageProducer to create StreamMes…
…sage.

Added MSMQ and EMS provider implementations of StreamMessage.
Fixes [AMQNET-116]. (See https://issues.apache.org/activemq/browse/AMQNET-116)
  • Loading branch information
Jim Gomes committed Oct 6, 2009
1 parent 9fdecb9 commit 9e9532197fb79239a0e2553a4d02deec96fb68e2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
@@ -97,6 +97,11 @@ public interface IMessageProducer : System.IDisposable
/// </summary>
IBytesMessage CreateBytesMessage(byte[] body);

/// <summary>
/// Creates a new stream message
/// </summary>
IStreamMessage CreateStreamMessage();

#endregion
}
}
@@ -154,6 +154,11 @@ public interface ISession : IDisposable
/// </summary>
IBytesMessage CreateBytesMessage(byte[] body);

/// <summary>
/// Creates a new stream message
/// </summary>
IStreamMessage CreateStreamMessage();

/// <summary>
/// Closes the session. There is no need to close the producers and consumers
/// of a closed session.

0 comments on commit 9e95321

Please sign in to comment.