Package com.adaptris.core.jms.sonic
Interface JmsPartWriter
-
- All Known Implementing Classes:
JmsPartOutputStreamWriter
,JmsPartStringWriter
,JmsPartWriterImpl
public interface JmsPartWriter
Handles writing of JMS Parts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
registerMessageFactory(AdaptrisMessageFactory factory)
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 part, progress.message.jclient.Part jmsPart)
Write the MimePart to this jms body part.
-
-
-
Method Detail
-
registerMessageFactory
void registerMessageFactory(AdaptrisMessageFactory factory)
-
write
progress.message.jclient.Part write(javax.mail.internet.MimeBodyPart part, progress.message.jclient.Part jmsPart) throws javax.mail.MessagingException, javax.jms.JMSException, java.io.IOException
Write the MimePart to this jms body part.- Parameters:
part
- the existing Mime body part.jmsPart
- the JMS Part- Returns:
- The JMS part (for method chaining).
- Throws:
javax.mail.MessagingException
javax.jms.JMSException
java.io.IOException
-
write
progress.message.jclient.Part write(AdaptrisMessage msg, progress.message.jclient.Part jmsPart) throws javax.jms.JMSException, java.io.IOException
Write the AdaptrisMessage to this jms body part.- Parameters:
msg
- the AdaptrisMessagejmsPart
- the JMS Part- Returns:
- The JMS part (for method chaining).
- Throws:
javax.jms.JMSException
java.io.IOException
-
-