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.JmsPoolConnectionFactoryPropertiesgetPool()intintgetUser()booleanbooleanbooleanvoidsetAdditionalProperties(Map<String, String> properties) voidsetApplicationName(String applicationName) voidsetCcdtUrl(String ccdtUrl) voidsetChannel(String channel) voidsetChannelSharing(String channelSharing) voidsetClientId(String clientId) voidsetConnName(String connName) voidsetDefaultReconnect(String defaultReconnect) voidsetOutboundSNI(String outboundSNI) voidsetPassword(String password) voidsetQueueManager(String queueManager) voidsetReconnect(String reconnect) voidsetSslCipherSpec(String sslCipherSpec) voidsetSslCipherSuite(String sslCipherSuite) voidsetSslFIPSRequired(boolean sslFIPSRequired) voidsetSslKeyResetCount(int sslKeyResetCount) voidsetSslPeerName(String sslPeerName) voidsetTempModel(String tempModel) voidsetTempQPrefix(String tempQPrefix) voidsetTempTopicPrefix(String tempTopicPrefix) voidsetUseAuthenticationMQCSP(boolean useAuthenticationMQCSP) voidsetUseIBMCipherMappings(boolean useIBMCipherMappings) voidvoidsetUserAuthenticationMQCSP(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()
-