public class JmsPartOutputStreamWriter extends JmsPartWriterImpl
Part
.
This uses the Part.getOutputStream()
to write any output.
In the adapter configuration file this class is aliased as sonic-part-outputstream which is the preferred alternative to the fully qualified classname when building your configuration.
Constructor and Description |
---|
JmsPartOutputStreamWriter() |
Modifier and Type | Method and Description |
---|---|
progress.message.jclient.Part |
write(AdaptrisMessage msg,
progress.message.jclient.Part jmsPart)
Write the AdaptrisMessage to this jms body part.
|
progress.message.jclient.Part |
write(javax.mail.internet.MimeBodyPart mimePart,
progress.message.jclient.Part jmsPart)
Write the MimePart to this jms body part.
|
copyHeaders, currentMessageFactory, getEncoding, registerMessageFactory
public progress.message.jclient.Part write(javax.mail.internet.MimeBodyPart mimePart, progress.message.jclient.Part jmsPart) throws javax.mail.MessagingException, javax.jms.JMSException, java.io.IOException
JmsPartWriter
mimePart
- the existing Mime body part.jmsPart
- the JMS Partjavax.mail.MessagingException
javax.jms.JMSException
java.io.IOException
public progress.message.jclient.Part write(AdaptrisMessage msg, progress.message.jclient.Part jmsPart) throws javax.jms.JMSException, java.io.IOException
JmsPartWriter
msg
- the AdaptrisMessagejmsPart
- the JMS Partjavax.jms.JMSException
java.io.IOException
Copyright Adaptris