activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From millerkdm <miller...@yahoo.com>
Subject Re: UDP infinite loops
Date Wed, 11 Oct 2006 19:23:21 GMT

thanks, but i don't need udp lecture. check out activeMQ's 4.xx
implimentation. they put a reliablity layer on top of udp. i would like to
turn it off--or see if they can get it to work.



Christopher G. Stach II wrote:
> 
> millerkdm wrote:
>> When using UDP, I will often get either one of the following, infinitely.
>> 
>> 609648 [ActiveMQ Transport: UdpServerConnection@3528] WARN
>> org.apache.activemq.transport.udp.CommandDatagramChannel  - Request for
>> buffer: 628 is no longer present
>> 
>> 
>> 59304 [ActiveMQ Transport: UdpServerConnection@3555] DEBUG
>> org.apache.activemq.transport.reliable.ReliableTransport  - Processing
>> replay command: ReplayCommand {commandId = 21, firstNakNumber = 2,
>> lastNakNumber = 2}
>> 59304 [ActiveMQ Transport: UdpServerConnection@3555] DEBUG
>> org.apache.activemq.transport.reliable.DefaultReplayBuffer  - Buffer:
>> org.apache.activemq.transport.reliable.DefaultReplayBuffer@bf7916
>> replaying
>> messages from: 2 to: 2
>> 59304 [ActiveMQ Transport: UdpServerConnection@3555] DEBUG
>> org.apache.activemq.transport.udp.CommandDatagramChannel  - Channel:
>> UdpServerConnection@3555 REDELIVERING datagram: 2 to: /myipaddress:3914
>> 
>> 
>> It would be nice if the reliability piece of UDP worked; however, I can
>> live
>> without it. Can anyone tell me,how to turn off the udp replayer?
>> 
>> I create the connection as follows
>> ActiveMQConnectionFactory("udp://localhost:3278");
>> 
>> I then get back a CommandJoiner object, and it is not clear to me how to
>> get
>> at the replayer and turn it off. I assume I need to do the same on the
>> client.
>> 
>> Thanks.
>> 
>> 
>> 
>> 
> 
> There is no reliability in UDP.  All you get is data integrity with a 
> checksum.
> 
> -- 
> Christopher G. Stach II
> 
> 

-- 
View this message in context: http://www.nabble.com/UDP-infinite-loops-tf2425239.html#a6762894
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message