Skip to content

Commit

Permalink
Improved comments
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jul 31, 2024
1 parent 8e934fd commit 2366079
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ public void handleIncomingSBD (@Nonnull final IAS4IncomingMessageMetadata aMessa
" bytes)");
LOGGER.info ("Successfully wrote SBD to '" + aFile.getAbsolutePath () + "'");

// Check if any "MessageProperty" with name "MockAction" is contained
final Ebms3Property aMockAction = CollectionHelper.findFirst (aUserMessage.getMessageProperties ().getProperty (),
x -> "MockAction".equals (x.getName ()));
if (aMockAction != null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,19 @@
* main goal of this class is to implement the Peppol specific requirements of
* packaging data in SBDH. Users of this package must implement
* {@link IPhase4PeppolIncomingSBDHandlerSPI} instead which provides a more
* Peppol-style SPI handler.
* Peppol-style SPI handler. This class is instantiated only once, therefore
* changing the state of this class may have unintended side effects.
*
* @author Philip Helger
*/
@IsSPIImplementation
public class Phase4PeppolServletMessageProcessorSPI implements IAS4ServletMessageProcessorSPI
{
/**
* This class represents the data of a single AS4 attachment.
*
* @author Philip Helger
*/
private static final class ReadAttachment
{
private String m_sID;
Expand Down Expand Up @@ -592,7 +598,7 @@ public AS4MessageProcessorResult processAS4UserMessage (@Nonnull final IAS4Incom
LOGGER.debug (sLogPrefix + " AS4 Action = '" + sAction + "'");
LOGGER.debug (sLogPrefix + " AS4 ConversationId = '" + sConversationID + "'");

// Log source properties
// Log User Message Message Properties
if (aUserMessage.getMessageProperties () != null && aUserMessage.getMessageProperties ().hasPropertyEntries ())
{
LOGGER.debug (sLogPrefix + " AS4 MessageProperties:");
Expand Down

0 comments on commit 2366079

Please sign in to comment.