Skip to main content
12-Amethyst
July 25, 2023
Solved

Two way binding in java SDK

  • July 25, 2023
  • 1 reply
  • 1879 views

Hi,

 

I want to use two way binding in thingworx with JAVA SDK program, when thing property change from thingworx how can I know in java SDK program. 

 

 

Best answer by Bikash_Panda

I think you can use subscription. Create a service in JAVA and aatach that to the subscription.

BP_9210462_1-1690289110208.png

 

1 reply

14-Alexandrite
July 25, 2023

I think you can use subscription. Create a service in JAVA and aatach that to the subscription.

BP_9210462_1-1690289110208.png

 

12-Amethyst
July 27, 2023

Hi

 

Can we create a dynamic subscription?

14-Alexandrite
July 28, 2023

I am not sure when you say dynamic, What exactly you are looking for ? You may create subscriptions, and one boolean property for each subscription, and may only process the logic if the property for the subscription is enabled, This would give you control over the subscription a bit.