@Test public void outboundMessageWithoutFrom() { UserMessageStanzaBroker tested = buildTested(true, false); MessageStanza messageStanza = buildMessageStanza(MessageStanzaType.NORMAL, null, ALICE_IN_RABBIT_HOLE, "hello world"); tested.writeToSession(messageStanza); julietArchive.assertUniqueArchivedMessageStanza(messageStanza); }
@Override public void writeToSession(Stanza stanza) { super.writeToSession(archive(stanza)); }
UserMessageStanzaBroker extends DelegatingStanzaBroker { @Override public void writeToSession(Stanza stanza) { super.writeToSession(archive(stanza)); } }
UserMessageStanzaBroker extends DelegatingStanzaBroker { @Override public void writeToSession(Stanza stanza) { super.writeToSession(archive(stanza)); } UserMessageStanzaBroker(StanzaBroker delegate, ServerRuntimeContext serverRuntimeContext,
            SessionContext sessionContext, boolean isOutbound, boolean archivingForced); }
UserMessageStanzaBroker extends DelegatingStanzaBroker { @Override public void writeToSession(Stanza stanza) { super.writeToSession(archive(stanza)); } UserMessageStanzaBroker(StanzaBroker delegate, ServerRuntimeContext serverRuntimeContext,
            SessionContext sessionContext, boolean isOutbound, boolean archivingForced); @Override void write(Entity receiver, Stanza stanza, DeliveryFailureStrategy deliveryFailureStrategy); @Override void writeToSession(Stanza stanza); }
UserMessageStanzaBroker extends DelegatingStanzaBroker { @Override public void writeToSession(Stanza stanza) { super.writeToSession(archive(stanza)); } UserMessageStanzaBroker(StanzaBroker delegate, ServerRuntimeContext serverRuntimeContext,
            SessionContext sessionContext, boolean isOutbound, boolean archivingForced); @Override void write(Entity receiver, Stanza stanza, DeliveryFailureStrategy deliveryFailureStrategy); @Override void writeToSession(Stanza stanza);  }