org.jboss.soa.esb.smooks.splitting
Class AbstractStreamSplitter
java.lang.Object
org.jboss.soa.esb.smooks.splitting.AbstractStreamSplitter
- All Implemented Interfaces:
- Configurable
- Direct Known Subclasses:
- FileStreamSplitter
public abstract class AbstractStreamSplitter
- extends java.lang.Object
- implements Configurable
Abstract stream splitter.
Uses Smooks to perform the message splitting.
- Author:
- tom.fennelly@jboss.com
Field Summary |
protected org.milyn.Smooks |
smooks
|
Method Summary |
void |
setConfiguration(ConfigTree config)
Set the component configuration. |
void |
split(java.io.InputStream dataStream)
|
void |
split(java.io.InputStream dataStream,
org.milyn.container.ExecutionContext execContext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
smooks
protected org.milyn.Smooks smooks
AbstractStreamSplitter
public AbstractStreamSplitter()
setConfiguration
public void setConfiguration(ConfigTree config)
throws ConfigurationException
- Description copied from interface:
Configurable
- Set the component configuration.
- Specified by:
setConfiguration
in interface Configurable
- Parameters:
config
- The conponent configuration.
- Throws:
ConfigurationException
- Bad component configuration.
split
public void split(java.io.InputStream dataStream)
throws java.io.IOException
- Throws:
java.io.IOException
split
public void split(java.io.InputStream dataStream,
org.milyn.container.ExecutionContext execContext)
throws java.io.IOException
- Throws:
java.io.IOException