Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Question

When passing api.global data from a quote Quote header to a line item logic, is there a limit on the amount of data that can be passed? My guess is that the JVM is basically the limit, but I want to double check.

...

hiddentrue

...

Answer

The limit is approx. 16 MB and it is defined by the DEFAULT_MAX_PACKET_SIZE parameter.

This limit applies only when api.global is persisted. The Quote header and line item is the same thread. So there is no need to serialize/persist in between. The limit is used just for serialization, i.e., lists => dirty pass hand over.