holodeck-b2b / Holodeck-B2B

Holodeck B2B is an AS4 system-to-system messaging solution that implements the OASIS specifications for ebMS3 and it's AS4 profile. For more information visit the project website
http://holodeck-b2b.org
GNU General Public License v3.0
71 stars 36 forks source link

Second P-Mode is ignored according to holodeckb2b.log #60

Closed ilicalex closed 7 years ago

ilicalex commented 7 years ago

Info: Holodeck B2B 2.1.2 Windows Server 2012R2 JRE 1.8.0.121

Is it possible to set more than one P-Mode to cover communication with several partners? If yes, why I do see in the log that PModeWatcher detects only the first p-mode in ex-pm-push-resp.xml on B side? Thank you in advance for your answer.

Best regards, Aleksandar Ilić

sfieten commented 7 years ago

Hi Aleksandar, it is possible to configure multiple P-Modes. But each P-Mode needs to be in a separate XML file. If I understand correctly you have added multiple P-Modes in on file? That would explain why only one P-Mode is picked up.

ilicalex commented 7 years ago

Yes, that did the trick. I just created a copy XML file, change and make sure that XML file contains only one PMode definition with uniwue P-Mode ID,