Heartbeat messages are a admin message, so they will be coming into
the fromAdmin callback. If you pass fromAdmin messages into your
MessageCracker, you should see them printed out.
--oren
On Mar 3, 2007, at 6:48 PM, William Boyer wrote:
> Hello All,
>
> I must be misunderstanding something regarding the flow of messages
> between my application and the acceptor and visa-versa. I was
> under the impression that if I implemented a callback function,
> then the message cracker would be able to pass on incoming messages
> to the appropriate handler. A diagram of my understanding of
> message flow might look something like this:
>
> acceptor -> quickfix_engine -> application::fromApp() ->
> messageCracker -> appropriateMessageHandler().
>
> I have implemented the following message handler:
>
> void Application::onMessage(
> const FIX42::Heartbeat&, const FIX::SessionID& ) {
> std::cout << "\n onHeartbeat callback called\n";
> }
|