apache > ws.apache
Pubscribe
 

Modify the Generated Config File

Introduction

In this step of the tutorial, the generated Filesystem_wsrf-config.xml is modified to expose the MountPointDirectory TopicExpression.

TopicExpressions denote which Topics are available for clients to subscribe to.

Topics, and TopicExpressions, are discussed further in the Developer Guide.

Modify the Generated Config File

Open WORK_DIR/generated/filesystem/src/java/org/apache/ws/resource/example/filesystem/Filesystem_wsrf-config.xml and uncomment the bean element of class SimpleTopicExpression which has the constructor value:

{http://ws.apache.org/resource/example/filesystem}MountPointDirectory

Uncommenting this element will expose the MountPointDirectory TopicExpression and allow users to subscribe to it.