Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

3. Edit the registry.xml file which is in GREG_HOME/repository/conf folder with and add the following XML snippet.

Code Block
languagehtml/xml
<handler class="org.wso2.carbon.registry.samples.handler.ProjectProposalMediaTypeHandler" methods="PUT">
    <filter class="org.wso2.carbon.registry.core.jdbc.handlers.filters.MediaTypeMatcher">
        <property name="mediaType">pp</property>
    </filter>
</handler>

...