3 Replies Latest reply: Aug 31, 2010 6:56 PM by Brian Oliver RSS

    Push replication 3.0.0 incorrect element name for coalescing transformer

    679352
      The push replication configuration below adds the coalescing feature to a publisher by means of the *<sync:coalescing-publishing-transformer-scheme/>* element:
      <sync:publisher> 
        <sync:publisher-name>publisher-site-A</sync:publisher-name> 
        <sync:publisher-scheme> 
          ... 
        </sync:publisher-scheme> 
        <sync:publishing-transformer-scheme> 
          <sync:coalescing-publishing-transformer-scheme/> 
        </sync:publishing-transformer-scheme> 
      </sync:publisher>
      This is documented at http://wiki.tangosol.com/display/INCUBATOR/Push+Replication+Pattern.

      Issue: The coalescing element is not recognised and generates the following error:
      Problem   : The NamespaceContentHandler [com.oracle.coherence.patterns.pushreplication.configuration.PushReplicationNamespaceContentHandler] 
      can't process the element [<sync:coalescing-publishing-transformer-scheme/>] as it is unknown. 
      Advice    : Please consult the documentation for the declared sync namespace 
      This is because the code PushReplicationNamespaceContentHandler.java has no handler for that element. Instead the following handler is registered:
       registerContentHandler("coalescing-transformer-scheme", new ElementContentHandler() {...} 
      This name is recognised, and updates are coalesced as expected:
      <sync:publishing-transformer-scheme> 
          <sync:coalescing-transformer-scheme/> 
      </sync:publishing-transformer-scheme> 
      The documented element *<coalescing-publishing-transformer-scheme>* does not match the implementation *<sync:coalescing-transformer-scheme>*.

      Can either the code or the documentation be fixed?

      Thanks,
      phil