Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JMSToolbox doesn't support Tibco Delivery mode 22 #151

Open
cabellouarkbluecross opened this issue Aug 18, 2023 · 1 comment
Open

JMSToolbox doesn't support Tibco Delivery mode 22 #151

cabellouarkbluecross opened this issue Aug 18, 2023 · 1 comment
Labels
kind/enhancement New feature or request qm/tibco

Comments

@cabellouarkbluecross
Copy link

cabellouarkbluecross commented Aug 18, 2023

Specifications

  • JMSToolBox version: v6.2.0 (2023-05-18 18:21)
  • OS (Name, version, 32/64bits): Windows 10 Enterprise 21h2 64 bit
  • Q provider (kind, version) : Tibco/TibcoEMS

Expected Behavior

I should be able to post a message from my application with Delivery mode 22 and view it in JMSToolbox
AKA, JTBDeliveryMode should support delivery mode of 22 as per the [Tibco documentation] (https://docs.tibco.com/pub/api-exchange-gateway/2.2.0/doc/html/GUID-7547554A-3CF8-49D0-A8C7-62ACD63A09C6.html) :
TibcoDeliveryModes

Actual Behavior

JMSToolBox throws an error when trying to view a queue and won't let me view any messages on the queue with that delivery mode.
Capture

Steps to Reproduce the Problem

  1. Install/setup Tibco queues
  2. Post a message to the queue with Delivery mode 22
  3. Try to view message on that queue and get a java.lang.IllegalArgumentException due to JTBDeliveryMode being coded to throw that exception when any delivery mode other than 1 or 2 is used.

Logs

JTB_20235918_1108215_jmstoolbox.log
JTB_20235918_1108215_eclipse.log

@cabellouarkbluecross cabellouarkbluecross changed the title JMSToolbox doesn't support TibcoEMS Delivery mode 22 JMSToolbox doesn't support Tibco Delivery mode 22 Aug 18, 2023
@titou10titou10 titou10titou10 added kind/enhancement New feature or request qm/tibco labels Aug 18, 2023
@titou10titou10
Copy link
Contributor

I understand the usecase
However, this delivery mode is a Tibco proprietary JMS extension and JMSToolBox is based on the standard JMS 2.x, capable to handle JMS messages in a generic way
The delivery mode could be added to JTB with the 2 standard modes but it will be seen and used by all other QM and obvisoulu cause exceptions
Maybe there is a way to make it to be only visible to Tibco sessions, but in that case, how to handle the errors when someone will try to copy messages (D&D, via templates, via export/import...) from a Tibco QM to another kind of QM?
I will have to think about it and evaluate where and how the DeliveryMode is used in JTB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request qm/tibco
Projects
None yet
Development

No branches or pull requests

2 participants