In this scenario we are taking TIBCO EMS Queue. Now we have to create SSL connection. We have to make use of Third party jar i.e. tibjms.jar. It had custom class TibjmsConnectionFactory class we need to pass following arguments. Following example is in format of Spring appContext.xml
Example-:
<bean id="jmsConnectionFactory" class="com.tibco.tibjms.TibjmsConnectionFactory">
<property name="serverUrl" value="ssl://initalname.acd.organisation.com:12345"></property>
<property name="SSLIssuerCertificate" value="c:\\certificate\\Symbvs.cer" />
<property name="SSLTrustedCertificate" value="c:\\certificate\\Ver_B1_Pxcv.cer" />
<property name="SSLEnableVerifyHost" value="false" />
<property name="SSLEnableVerifyHostName" value="false" />
<property name="SSLPassword" value="ABCD" />
<property name="SSLTrace" value="true" />
<property name="SSLDebugTrace" value="true" />
</bean>
Example-:
<bean id="jmsConnectionFactory" class="com.tibco.tibjms.TibjmsConnectionFactory">
<property name="serverUrl" value="ssl://initalname.acd.organisation.com:12345"></property>
<property name="SSLIssuerCertificate" value="c:\\certificate\\Symbvs.cer" />
<property name="SSLTrustedCertificate" value="c:\\certificate\\Ver_B1_Pxcv.cer" />
<property name="SSLEnableVerifyHost" value="false" />
<property name="SSLEnableVerifyHostName" value="false" />
<property name="SSLPassword" value="ABCD" />
<property name="SSLTrace" value="true" />
<property name="SSLDebugTrace" value="true" />
</bean>
How can we use this jmsConnectionFactory bean in spring default message listener bean declaration?
ReplyDeleteI really appreciate the information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in #ALFRESCO, kindly Contact MaxMunus
ReplyDeleteMaxMunus Offer World Class Virtual Instructor-led training on #ALFRESCO. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 1,00,000 + training in India, USA, UK, Australia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain, and UAE etc.
Avishek Priyadarshi
MaxMunus
E-mail: avishek@maxmunus.com
Skype id: avishek_2.
Ph:(0) 8553177744 / 080 - 41103383
www.MaxMunus.com