Skip to main content
12-Amethyst
Jul 25, 2023 5:49 AM UTC
Solved

Two way binding in java SDK

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. 

 

 

14-Alexandrite
Jul 25, 2023 12:45 PM UTC

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

BP_9210462_1-1690289110208.png

 

4 replies

14-Alexandrite
Jul 25, 2023 12:45 PM UTC

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

BP_9210462_1-1690289110208.png

 

Translate
12-Amethyst
Jul 27, 2023 12:32 PM UTC

Hi

 

Can we create a dynamic subscription?

Translate
14-Alexandrite
Jul 28, 2023 5:56 AM UTC

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.

Translate