Package com.ibm.mq.spring.boot
Class MQConfigurationProperties
java.lang.Object
com.ibm.mq.spring.boot.MQConfigurationProperties
There are many properties that can be set on an MQ Connection Factory, but these are the most commonly-used
for both direct and client connections. If you use TLS for client connectivity, most properties related to that
(keystore, certificates etc) must be set independently.
This class allows for setting the CipherSuite/CipherSpec property, and an indication of whether or not to use the IBM JRE maps for Cipher names - that's not something that is standardised.
The default values have been set to match the settings of the MQ Docker container.
- queueManager = QM1
- connName = localhost(1414)
- channel = DEV.ADMIN.SVRCONN
- user = admin
- password = passw0rd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetJks()
getJndi()
org.springframework.boot.autoconfigure.jms.JmsPoolConnectionFactoryProperties
getPool()
int
int
getUser()
boolean
boolean
boolean
void
setAdditionalProperties
(Map<String, String> properties) void
setApplicationName
(String applicationName) void
setCcdtUrl
(String ccdtUrl) void
setChannel
(String channel) void
setChannelSharing
(String channelSharing) void
setClientId
(String clientId) void
setConnName
(String connName) void
setDefaultReconnect
(String defaultReconnect) void
setOutboundSNI
(String outboundSNI) void
setPassword
(String password) void
setQueueManager
(String queueManager) void
setReconnect
(String reconnect) void
setSslCipherSpec
(String sslCipherSpec) void
setSslCipherSuite
(String sslCipherSuite) void
setSslFIPSRequired
(boolean sslFIPSRequired) void
setSslKeyResetCount
(int sslKeyResetCount) void
setSslPeerName
(String sslPeerName) void
setTempModel
(String tempModel) void
setTempQPrefix
(String tempQPrefix) void
setTempTopicPrefix
(String tempTopicPrefix) void
setUseAuthenticationMQCSP
(boolean useAuthenticationMQCSP) void
setUseIBMCipherMappings
(boolean useIBMCipherMappings) void
void
setUserAuthenticationMQCSP
(boolean userAuthenticationMQCSP) void
-
Constructor Details
-
MQConfigurationProperties
public MQConfigurationProperties()
-
-
Method Details
-
getQueueManager
-
setQueueManager
-
getChannel
-
setChannel
-
getConnName
-
setConnName
-
setClientId
-
getClientId
-
setApplicationName
-
getApplicationName
-
getUser
-
setUser
-
getPassword
-
setPassword
-
getSslCipherSuite
-
setSslCipherSuite
-
getSslCipherSpec
-
setSslCipherSpec
-
isUseIBMCipherMappings
public boolean isUseIBMCipherMappings() -
setUseIBMCipherMappings
public void setUseIBMCipherMappings(boolean useIBMCipherMappings) -
getOutboundSNI
-
setOutboundSNI
-
getChannelSharing
-
setChannelSharing
-
isUseAuthenticationMQCSP
public boolean isUseAuthenticationMQCSP() -
setUserAuthenticationMQCSP
public void setUserAuthenticationMQCSP(boolean userAuthenticationMQCSP) -
setUseAuthenticationMQCSP
public void setUseAuthenticationMQCSP(boolean useAuthenticationMQCSP) -
getSslPeerName
-
setSslPeerName
-
getCcdtUrl
-
setCcdtUrl
-
getPool
public org.springframework.boot.autoconfigure.jms.JmsPoolConnectionFactoryProperties getPool() -
getJndi
-
getJks
-
getTempQPrefix
-
setTempQPrefix
-
getTempTopicPrefix
-
setTempTopicPrefix
-
getTempModel
-
setTempModel
-
isSslFIPSRequired
public boolean isSslFIPSRequired() -
setSslFIPSRequired
public void setSslFIPSRequired(boolean sslFIPSRequired) -
getSslKeyResetCount
public int getSslKeyResetCount() -
setSslKeyResetCount
public void setSslKeyResetCount(int sslKeyResetCount) -
getReconnectValue
public int getReconnectValue() -
getReconnect
-
setDefaultReconnect
-
setReconnect
-
getAdditionalProperties
-
setAdditionalProperties
-
traceProperties
public void traceProperties()
-