activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttmdev <joe.fernan...@ttmsolutions.com>
Subject Re: How to retrieve message producer's IP address from consumer side?
Date Fri, 04 Jan 2008 22:17:40 GMT

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 <lee.zhou@us.usana.com> 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.


Mime
View raw message