ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

How to add subscriptions on the templates using JAVA ( extension SDK)

jaeeunc
1-Visitor

How to add subscriptions on the templates using JAVA ( extension SDK)

I'm making an extension of Thingworx using Thingworx Extension SDK.

And I made a template and now want to add subscription of the properties of the template I made using java.

There'a an method 'AddDynamicSubscription' in 'Thing' class.

public void AddDynamicSubscription(java.lang.String thingName,

  java.lang.String eventName,

  java.lang.String propertyName,

  java.lang.String serviceName)

  throws java.lang.Exception

But I can't find out how to use it.  There's no examples and descriptions about this...Thingworx must provide more detailed documents on their Platfrom APIs !!

I don't know how to define the service's parameters to get the eventData.

Is there someone can let me know how to use it?

Java code example will be appreciated..

0 REPLIES 0
Announcements




Top Tags