Skip to content

Export of JMS queue having reference to error queue #1494

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

Closed
gregoan opened this issue Sep 19, 2023 · 2 comments
Closed

Export of JMS queue having reference to error queue #1494

gregoan opened this issue Sep 19, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@gregoan
Copy link

gregoan commented Sep 19, 2023

Hello,

If a queue is referenced as error queue by another queue, the generated model file is not correct

config.xml

=> cat gregoan_jmsmodule-jms.xml
<?xml version='1.0' encoding='UTF-8'?>
<weblogic-jms xmlns="http://xmlns.oracle.com/weblogic/weblogic-jms" xmlns:sec="http://xmlns.oracle.com/weblogic/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wls="http://xmlns.oracle.com/weblogic/security/wls" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-jms http://xmlns.oracle.com/weblogic/weblogic-jms/1.1/weblogic-jms.xsd">
  <queue name="Sysper2JMSNDPArchivingRequestError">
    <sub-deployment-name>gregoan_JmsSubDeployment</sub-deployment-name>
    <jndi-name>Sysper2JMSNDPArchivingRequestError</jndi-name>
  </queue>
  <queue name="Sysper2JMSNDPArchivingRequestQueue">
    <sub-deployment-name>gregoan_JmsSubDeployment</sub-deployment-name>
    <delivery-failure-params>
      <error-destination>Sysper2JMSNDPArchivingRequestError</error-destination>
      <redelivery-limit>5</redelivery-limit>
      <expiration-policy>Redirect</expiration-policy>
    </delivery-failure-params>
    <jndi-name>Sysper2JMSNDPArchivingRequestQueue</jndi-name>
  </queue>
</weblogic-jms>

---> See Sysper2JMSNDPArchivingRequestQueue having link to Sysper2JMSNDPArchivingRequestError (cf error-destination tag)

Generated Model file

gregoan_JmsModule:
	Target: XXX-SGLW12213_TSTwls11
	SubDeployment:
		gregoan_JmsSubDeployment:
			Target: gregoan_JmsServer
	JmsResource:
		Queue:
			Sysper2JMSNDPArchivingRequestError:
				JNDIName: Sysper2JMSNDPArchivingRequestError
				SubDeploymentName: gregoan_JmsSubDeployment
 			Sysper2JMSNDPArchivingRequestQueue:
 				JNDIName: Sysper2JMSNDPArchivingRequestQueue
 				SubDeploymentName: gregoan_JmsSubDeployment
 				DeliveryFailureParams:
 					ExpirationPolicy: Redirect
 					RedeliveryLimit: 5
 				DeliveryParamsOverrides:
 					RedeliveryDelay: 300000
@robertpatrick robertpatrick added the bug Something isn't working label Sep 19, 2023
@jshum2479
Copy link
Member

I reproduced with online discovery/offline works as expected. fix will be in the next release

@gregoan
Copy link
Author

gregoan commented Sep 19, 2023

Sorry Johnny but I had problem to access GitHub until now..
Yes we are using online mode (sorry to have missed this important point)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants