Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

overriding Coherence packet size

User_L0XYYOct 11 2017 — edited Oct 16 2017

I want to provide a system property that can be used to override the packet publisher packet size, but in the event that the system property is not set, I don't want to disturb the default behavior in 12.x that determines the packet size based on the MTU.

For example, an override like this will set the value to 1468 by default, but that value can be overridden if -Dtangosol.coherence.packet.size=NNNN is specified on the command line.

  <cluster-config>

    <packet-publisher>

      <packet-size system-property="tangosol.coherence.packet.size">1468</packet-size>

    </packet-publisher>

  </cluster-config>

However, I do not want to explicitly specify a default value and want Coherence's default logic of using the MTU size to set the packet size if the system property is not set on the command line.

Does anyone know if defining the system property, but not setting a value will accomplish what I want?  Example:

  <cluster-config>

    <packet-publisher>

      <packet-size system-property="tangosol.coherence.packet.size"></packet-size>

    </packet-publisher>

  </cluster-config>

or...

  <cluster-config>

    <packet-publisher>

      <packet-size system-property="tangosol.coherence.packet.size" />

    </packet-publisher>

  </cluster-config>

Thanks for your help.

This post has been answered by Shyam Radhakrishnan-Oracle on Oct 12 2017
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 13 2017
Added on Oct 11 2017
6 comments
306 views