Thanks for the note about registering the consumer.  I'd put that in
while floundering around trying to figure out why it's not getting
messages.

I put logging in on both my worker and my requester.  In Worker's
app.config:
  <castle>
    <facilities>
    <facility id="worker.esb" >
      <bus threadCount="1"
           numberOfRetries="5"
           endpoint="msmq://localhost/videotoencode"
           logEndpoint="msmq://localhost/videotoencodelog"
                       queueIsolationLevel="ReadCommitted"
           />
      <messages>
        <add name="Messages.VideoToEncode"
             endpoint="msmq://localhost/videotoencode"
             logEndpoint="msmq://localhost/videotoencodelog"
             />
      </messages>
    </facility>
    </facilities>
  </castle>

And in requester's app.config:

  <castle>
    <facilities>
    <facility id="worker.esb" >
      <bus threadCount="1"
           numberOfRetries="5"
           endpoint="msmq://localhost/videotoencode"
           logEndpoint="msmq://localhost/videotoencodelog"
                       queueIsolationLevel="ReadCommitted"
           />
      <messages>
        <add name="Messages.VideoToEncode"
             endpoint="msmq://localhost/videotoencode"
             logEndpoint="msmq://localhost/videotoencodelog"
             />
      </messages>
    </facility>
    </facilities>
  </castle>

Now when the requester issues a single message, I get two entries in
the videotoencodelog endpoint, a
Rhino.ServiceBus.Messages.MessageArrivedMessage, and a
Rhino.ServiceBus.Messages.MessageProcessingCompletedMessage.

In my videotoencode endpoint I end up with a single discarded message,
and my worker does not seem to received anything.

I still don't fully understand the use of endpoints for both the bus
and the messages.  Are those values supposed to be different?

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to