Java Extension - Subscription handler is NOT called
Hi ,
(This thread is a simplifed sample to reproducing the same problem in https://community.ptc.com/t5/ThingWorx-Developers/Subscription-defined-in-extension-doesn-t-work/m-p/593756#M34221)
I have the following event, Subscription and Service defined in JAVA extension. Executing the Service raise the event "raiseHelpMe", but the handler helpMeHandler is NOT called. and I didn't find the log "Entering Service: helpMeHandler" .
Thingworx: 8.3.4
=============================Code========================================
=====================application log===============================================
| 2019-02-18 19:43:22.148 | Debug | Completed event processing for : Event.helpMe on behalf of | c.t.s.s.e.EventInstance | TWEventProcessor-14 | |||
| 2019-02-18 19:43:22.148 | Debug | Completed execution of event : Event.helpMe on behalf of | Administrator | c.t.s.s.e.EventInstance | TWEventProcessor-14 | ||
| 2019-02-18 19:43:22.148 | Debug | Starting execution of event : Event.helpMe on behalf of | c.t.s.s.e.EventInstance | TWEventProcessor-14 | |||
| 2019-02-18 19:43:22.148 | Debug | Starting event processing for event : Event.helpMe on behalf of | c.t.s.s.e.EventInstance | TWEventProcessor-14 | |||
| 2019-02-18 19:43:22.148 | Trace | Exiting Service: raiseHelpMe | Administrator | c.t.w.EventTestThingTemplate | http-nio-8080-exec-8 | ||
| 2019-02-18 19:43:22.148 | Info | Firing event Event.helpMe with 1 subscribers | Administrator | c.t.s.s.i.SubscriptionStoreInMemoryThreadSafe | http-nio-8080-exec-8 | ||
| 2019-02-18 19:43:22.148 | Trace | Entering Service: raiseHelpMe | Administrator | c.t.w.EventTestThingTemplate | http-nio-8080-exec-8 | ||
| 2019-02-18 19:43:22.148 | Debug | Executing request [URI: /Thingworx/Things/EventTestThing/Services/raiseHelpMe] | Administrator | c.t.w.BaseService | http-nio-8080-exec-8 | ||
| 2019-02-18 19:41:46.585 | Trace | Entered addSubscription for publisher EventTestThing and subscriber EventTestThing and event Type.Thing:Entity.EventTestThing:Event.helpMe | Administrator | c.t.s.s.i.SubscriptionStoreInMemoryThreadSafe | http-nio-8080-exec-5 |

