コード例 #1
0
 private SubscribeRequest createSubscribeRequest(NotificationTopic topic, String consumerErp) {
   return new ObjectFactory()
       .createSubscribeRequest()
       .withConsumerEpr(consumerErp)
       .withTopic(topic.name().toLowerCase());
 }
コード例 #2
0
 private UnsubscribeRequest createUnsubscribeRequest(NotificationTopic topic, String id) {
   return new ObjectFactory()
       .createUnsubscribeRequest()
       .withSubscriptionID(id)
       .withTopic(topic.name().toLowerCase());
 }