org.yestech.publish.util
Class CamelXmlToArtifactFilter

java.lang.Object
  extended by org.yestech.publish.util.CamelXmlToArtifactFilter

public class CamelXmlToArtifactFilter
extends Object

This class takes a raw xml camel message and converts it into an IArtifact then puts it back into the Message Body of the Exchange. The original xml is then placed in the header under the key IPublishConstant.RAW_XML_ARTIFACT.


Constructor Summary
CamelXmlToArtifactFilter()
           
 
Method Summary
 void filter(org.apache.camel.Exchange exchange)
          Filter the exchange.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CamelXmlToArtifactFilter

public CamelXmlToArtifactFilter()
Method Detail

filter

public void filter(org.apache.camel.Exchange exchange)
Filter the exchange.

Parameters:
exchange - the Exchange that contains the Message.


Copyright © 2010 YES Technology Association. All Rights Reserved.