https://bz.apache.org/bugzilla/show_bug.cgi?id=61128

            Bug ID: 61128
           Summary: Allow cluster manager mapSendOptions to be specified
                    with verbose, human-readable names
           Product: Tomcat 9
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: ch...@christopherschultz.net
  Target Milestone: -----

Cluster managers support "mapSendOptions" which is specified as an integer
value, bitwise-ORd from the individual bits which make-up the various options.

The default value is 8 for the DeltaManager which means "asynchronous".

It would be nice if the configuration could use human-readable options like
"async" instead of "8".

These are the channel send options available:

SEND_OPTIONS_ASYNCHRONOUS
SEND_OPTIONS_BYTE_MESSAGE
SEND_OPTIONS_MULTICAST
SEND_OPTIONS_SECURE
SEND_OPTIONS_SYNCHRONIZED_ACK
SEND_OPTIONS_UDP
SEND_OPTIONS_USE_ACK

They could be specified as human-readable strings e.g.
mapSendOptions="async,multicast" instead of mapSendOptions="72" which would
make the configuration much easier to both read and write.

For backward compatibility, the integer values should also be acceptable.

This bug is nearly the same as bug #61127, but on a different component.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to