This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MyBootStrapper : CastleBootStrapper | |
{ | |
protected override void ConfigureBusFacility(AbstractRhinoServiceBusConfiguration configuration) | |
{ | |
base.ConfigureBusFacility(configuration); | |
configuration.AddMessageModule<RavenStoreProviderMessageModule>(); | |
} | |
protected override void ConfigureContainer() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CustomizeOutgoingMessages : ICustomizeOutgoingMessages | |
{ | |
public void Customize(OutgoingMessageInformation messageInformation) | |
{ | |
// Messages is an object[] containing the batch of messages being sent. | |
// This will only have one message unless you send multiple | |
// messages at once with using IServiceBus. | |
var message = messageInformation.Messages[0] as SomeTemporaryMessage; | |
if (message != null) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<rhino.esb> | |
<bus threadCount="1" | |
numberOfRetries="5" | |
endpoint="rhino.queues://localhost/test_queue?volatile=true" | |
queueIsolationLevel="ReadCommitted" /> | |
</rhino.esb> |