cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Are the events from the java virtual thing processed sequentially in the ThingWorx server ?

seanccc
17-Peridot

Are the events from the java virtual thing processed sequentially in the ThingWorx server ?

Hi,

I want to know if the ThingWorx server handle the events of virtual thing sequentially , and if yes, are the events handled sequentially by remote thing ? 

For  example: 

---------------------------------------------------------------------

Virtual Thing VA  <- connected to -> Remote Thing RA

Virtual Thing VB  <- connected to -> Remote Thing RB

 

Time Statement Virtual Thing
t1 queueEvent("DeviceDataScanned", t1, deviceData1)
updateSubscribedEvents()
VA
t2 queueEvent("DeviceDataScanned", t2, deviceData2)
updateSubscribedEvents()
VB
t3 queueEvent("DeviceDataScanned", t3, deviceData3)
updateSubscribedEvents()
VA
t4 queueEvent("DeviceDataScanned", t4, deviceData4)
updateSubscribedEvents()
VB
     

 

Then what's the receiving sequence of Remote Thing's  subscription ?  would it be the following ? 

 Remote Thing RA: 

  • deviceData1
  • deviceData3

 Remote Thing RB: 

  • deviceData2
  • deviceData4

---------------------------------------------------------------------------------

Same question for the Protocol Adapter Toolkit (PAT )via ProtocolAdapterServices.getPlatformService().fireEvent(fireEventMessage) . 

 

 

Regards,

Sean

0 REPLIES 0
Announcements


Top Tags