anchor.diff:              } else {
                   //if resource doesn't exists then create a new resource and add properties to it.
                   if ((thriftUrl != null && thriftUrl.startsWith("tcp://")) || (authUrl != null && authUrl.startsWith("ssl://"))
  -                    || (username != null) || (password != null)) {
  +                    || (username != null) || (password != null) || (publisherEnable != null)) {
                       Resource resource = configRegistry.newResource();
                       resource.addProperty("receiverURLSet", thriftUrl);
                       resource.addProperty("username", username);
                       resource.addProperty("password", CryptoUtil.getDefaultCryptoUtil().encryptAndBase64Encode(password.getBytes()));
                       resource.addProperty("authURLSet", authUrl);
  +                    resource.addProperty("dataPublishingEnabled", publisherEnable);
                       configRegistry.put(registryPath, resource);
                   }
               }
  
positive.code:                         }
                      }
                  }
                  //if resource is available then get properties and set them to the text fields
                  if (thriftUrl == null) {
                      //if thrift url is null then set value from the registry
  
negative.code:                             </td>
                              <td>Enable</td>
                              <td>
                                  <input id="publisherEnable" type="radio" name="publisher_enable" <%=(publisherEnable.equals("true")) ? "checked" : ""%> value="true">
                                  <fmt:message key="bpmn.data.publisher.enable.true"/>
                                  <input id="publisherDisable" type="radio" name="publisher_enable" <%=(publisherEnable.equals("false")) ? "checked" : ""%> value="false">
                                  <fmt:message key="bpmn.data.publisher.enable.false"/>
                              </td>
                          </tr>
  