If all else fails, you can have the producer assign its IP address to a message property.
Joe Hiram Chirino wrote: > > Since producers are decoupled from the consumers this is not currently > easy to do. But it it may be possible hack something up since the > producer's hostname is encoded into the message id. > > Regards, > Hiram > > On Jan 4, 2008 1:18 PM, LeeZ01 <[EMAIL PROTECTED]> wrote: >> >> Does any one know how to retrieve the producer's IP address from the >> consumer >> side? >> I use ActiveMQ 4.1.1 and Spring framework 2.0. >> >> Thanks in advance. >> >> -- >> View this message in context: >> http://www.nabble.com/How-to-retrieve-message-producer%27s-IP-address-from-consumer-side--tp14622124s2354p14622124.html >> Sent from the ActiveMQ - User mailing list archive at Nabble.com. >> >> > > > > -- > Regards, > Hiram > > Blog: http://hiramchirino.com > > Open Source SOA > http://open.iona.com > > -- View this message in context: http://www.nabble.com/How-to-retrieve-message-producer%27s-IP-address-from-consumer-side--tp14622124s2354p14626216.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.