BizTalk message box full of BTXTimerMessage messages


  • We are using BizTalk (2013 R2 CU 6) EDI functionality to batch EDI files. This uses the Microsoft.BizTalk.Edi.BatchingOrchestration.BatchingService Orchestration which is always running in a waiting state (for lack of a better term), dehydrated most of the time. While running the orchestration builds up instances of the BTXTimerMessages in the Queued (awaiting processing) state. These messages are never removed or processed, that I can tell. This eventually causes us to pass the 50k message threshold and start throttling.

    As far as I can tell there is no way to setup a reoccurring schedule for the batcher, it must always run or be manually started. If we leave the batcher off there we get routing errors.

    Currently the only way we have to eliminate these messages is to terminate the EDI batcher for each party, then restart it.

    Is there a better way to purge these messages from the system, or stop them from being generated all together?


    Friday, September 22, 2017 8:52 PM

All replies

  • New issues (eg casused by CU6) or a recurring/old issue?

    BTXTimerMessages is known to build up due to use of timer loops in long running orchestrations


    Saturday, September 23, 2017 9:55 AM
  • This happens with and without CU6. The Microsoft EDI hatcher’s are always running which is causing this issue. it is my understanding that this is how the batcher is designed to run. i was hoping for a way get get around this without having to run the BatchTerminator utility.


    Saturday, September 23, 2017 3:10 PM