Re: [Quickfix-developers] BusinessMessageReject Question
Brought to you by:
orenmnero
|
From: Dave L. <dav...@ma...> - 2007-03-07 09:35:14
|
> 1. =A0Is it correct to expect a BusinessMessageReject from the hub?=20 Yes, this is a reasonable response. In fact, in FIX.4.3 they introduced = an additional BusinessRejectReason (7=3DDeliver to firm not available at = this time) for this specific purpose. Some hubs also support a "store and forward" approach for certain messages (something you would generally = agree with the hub when setting things up), but for an order I would say a = reject is more appropriate. > 2. =A0Why is QF rejecting the message? =A0What conditionally required = field is it referring to? =A0Is there a field missing in the message from the = hub?=20 This is caused when you attempt to get a field not present in the = message. Are you using isSetField() to check if a field if present before = attempting to retrieve it with getField()? > 3. =A0Can I switch of validation for just this message type? =A0Is = there a better way to manage this problem?=20 No, I think this is being caused by a FieldNotFound exception and I = think the only way to avoid this is to check that a field exists before = attempting to retrieve it from the message. Hope this helps. Cheers, Dave=A0 |