ServiceNow - MID Server Communication

Sivaranjani Sub
Tera Expert

Hi All,

Please share inputs on how an AMB message is sent to the MID Server’s channel.

ServiceNow portal says:

"The MID Server opens a persistent connection to the instance through the Asynchronous Message Bus (AMB) Client and listens on the /mid/server/<mid_sys_id> AMB channel. When an output record is inserted into the Queue [ecc_queue] table, an AMB message is sent to the MID Server’s channel. The MID Server receives this message and immediately polls the ecc_queue table for work.

The MID Server polls the ECC queue on the regular interval defined in the mid.poll.time configuration parameter, regardless of AMB message activity. The default polling interval is set to 40 seconds, but can be reconfigured. This polling of the ECC queue at a regular interval is done in case the AMB connection is dropped."

Question -
how is the actual data transmission happening between ServiceNow and MID Server - API or any other method?

3 REPLIES 3

Prabhjyot Sing1
Mega Guru

HI @Sivaranjani Sub,

 

The MID server uses an HTTPS (Port 443 ) connection to communicate with the ServiceNow instance.

PrabhjyotSing1_0-1699617827031.png

You can refer to the following docs for any connection-related prereqs.

https://docs.servicenow.com/en-US/bundle/vancouver-servicenow-platform/page/product/mid-server/task/...

@Prabhjyot Sing1  Thanks for responding to my question. Through https (port 443) is the data sent using any API call? I am trying to understand the underlying architecture

Hi @Sivaranjani Sub ,

 

I found the following doc regarding the ECC queue and MID Server don't know if you have seen it or not, but it explains a lot about how the MID server communicates with ServiceNow.

  https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/mid-server/concept/ecc...

 

PrabhjyotSing1_1-1699691788697.png