{{Quickfixn}} Fwd: Sending bursts of messages
Mike Gatny
mgatny at connamara.com
Fri Sep 25 06:39:08 PDT 2015
On Thu, Sep 24, 2015 at 9:34 PM, Kaitlyn Hwang <kaitlyn.hwang at gmail.com>
wrote:
>
> When bursts of messages get sent to my client, the messages are in the fix
> log. However, my application doesn't process all the messages. In order for
> me to track down the problem, I want to create a fake message sender.
>
> Is there a recommended way to create a fake message sender to send bursts
> of messages? Should I think about having a thread per message and send it?
> Or is there a method I'm missing?
>
If you really want to do this, it's pretty simple. Create an Acceptor
application (assuming you client is an Initiator), and start one background
thread that sends a burst of messages, sleeps for a bit, repeat. Connect
your client to the Acceptor and see what happens. The Executor example app
might be a useful starting point.
--
Mike Gatny
Connamara Systems, LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quickfixn.com/pipermail/quickfixn-quickfixn.com/attachments/20150925/d7db0c4b/attachment-0002.htm>
More information about the Quickfixn
mailing list