This project is read-only.

Add Destination possibility in ExtendedMessageBus

Sep 12, 2011 at 12:17 PM


We have been using SSB for a while with activemq and it works great.

We now have a need to overwrite the destination on an "ask" request using the IExtendedMessageBus in activemq.

I was looking in the source and it looks pretty doable since internally, there is a private method which does exactly that.  ( to explain, we have multiple thousands of clients which would be "offering" the same "service", but we have a need to target a request to a specific client)


Could this easily be done so we can overwrite the default routes and do something like:


public object Ask(object Request,TimeSpan Timeout,string Destination) ?

 i also saw that in the activemq transport, this is already built in :


 public virtual MessageEnvelope Ask(MessageEnvelope envelope, String destination, TimeSpan timeout)


this would be awesome !

Sep 12, 2011 at 5:21 PM


I don't have an issue if you want to extend the functionality so this is exposed externally.


Sep 12, 2011 at 6:31 PM

me neither! Feel free to add the overload...

Sep 13, 2011 at 10:59 AM



done. I also added the code from last november ( given in a discussion here) to be able to have more then one pipeline receive in a single thread ( code by haklan)

I submitted a patch for these so feel free to add them

Sep 13, 2011 at 6:17 PM

Excellent, thanks!