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

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

jaeeunc
Newbie

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..

Tags (1)
Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.