Skip to main content
1-Visitor
July 28, 2019
Question

Enabling Tunneling of a thing under configuration tab through Edge Java SDK

  • July 28, 2019
  • 1 reply
  • 899 views

Hi Guys,

 

Need help in enabling tunneling of a particular thing through Edge Java SDK. I was able to add the tunnel by invoking AddTunnel service through Edge Java SDK. 

Is there any service or property for EnableTunneling, so that i can invoke that service or else write the value to that property using SDK.

 

 

 

Thanks in advance.

1 reply

5-Regular Member
July 29, 2019

Hello, Kiran.

 

Per the ThingWorx Edge SDK Help Center, it is suggested:

 

To enable tunneling, either invoke ClientConfigurator.tunnelsEnabled(true), or set the tunnelsEnabled directive in your config file. A full example is available in the TunnelExample.java file, located in the directory, samples/com/thingworx/sdk/simple.

 

Perhaps check for that example code, and see if that gives you what you need.

 

Thanks,

 

-- Craig A.