# Send Message and Threading

**URL:** <https://forum.inductiveautomation.com/t/send-message-and-threading/14571>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [June 20, 2017, 9:13pm UTC](https://forum.inductiveautomation.com/t/send-message-and-threading/14571 "2017-06-20T21:13:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtompkins](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@dtompkins](https://forum.inductiveautomation.com/u/dtompkins)\
**Post date:** [June 20, 2017, 9:13pm UTC](https://forum.inductiveautomation.com/t/send-message-and-threading/14571/1 "2017-06-20T21:13:59Z")

</div>

If I use SendMessage to send a message from a gateway script to a gateway message handler (same gateway), does the message handler run on a separate thread?? Do messages sent to the message handler occurs in FIFO sequence?

---

<div class="post-metadata">

**Author:** ![mgross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mgross/32/3311_2.png) [@mgross](https://forum.inductiveautomation.com/u/mgross)\
**Post date:** [June 21, 2017, 5:28pm UTC](https://forum.inductiveautomation.com/t/send-message-and-threading/14571/2 "2017-06-21T17:28:31Z")

</div>

By default all the message handlers run on a shared thread, although you can set up a handler to run on its own dedicated thread. And yes, the messages are handled in FIFO sequence.
