コード例 #1
0
 @Override
 public void attachment(
     String contentType, InputStream content, Map<String, String> additionalHeaders)
     throws Exception {
   if (consumer != null) {
     consumer.attachment(contentType, content, additionalHeaders);
   }
 }
コード例 #2
0
    @Override
    public void soap(SoapMessage message) throws Exception {
      if (writingCtx == null) {
        MessageQueue queue = AsyncDB.getMessageQueue(requestServiceId.getClientId());
        writingCtx = queue.startWriting();
        consumer = writingCtx.getConsumer();
      }

      consumer.soap(message);
    }