Throw an exception when callbacks are used in SendOnly mode

fixes #2476
Merge pull request #2556 from Particular/callbackThrowForSendOnly

Throw an exception when callbacks are used in SendOnly mode