Spring Configuration Consolidated JMS TIBCO EMS

Source: Internet
Author: User
Tags aop

Original address: http://blog.csdn.net/shimly2010/article/details/9748223

Reference Documentation:
http://haohaoxuexi.iteye.com/blog/1893038
Http://www.blogjava.net/chenhui7502/archive/2011/08/28/357457.html

Most of the online articles about spring and Apache integration are rarely used in TIBCO EMS. Follow the spring JMS Standard, after referencing the two articles, do a demo run Tibco EMS. Can run.
1. Import Jar Pack

2. Configuration file
[HTML]  View Plain  copy <?xml version= "1.0"  encoding= "UTF-8"?>   <beans  xmlns= "Http://www.springframework.org/schema/beans"        xmlns:xsi= "http:// Www.w3.org/2001/XMLSchema-instance " xmlns:aop=" HTTP://WWW.SPRINGFRAMEWORK.ORG/SCHEMA/AOP "       xmlns:tx= "Http://www.springframework.org/schema/tx"  xmlns:context= "http:// Www.springframework.org/schema/context "       xmlns:mongo=" http:// Www.springframework.org/schema/data/mongo "       xsi:schemalocation="        http://www.springframework.org/schema/beans http://www.springframework.org/schema /beans/spring-beans-3.1.xsd       http://www.springframework.org/schema/aop  http://www.springframework.org/schema/aop/spring-aop-3.1.xsd       http:// Www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd       http:// www.springframework.org/schema/context http://www.springframework.org/schema/context/ spring-context-3.1.xsd       http://www.springframework.org/schema/data/mongo  http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd         ">       <bean id=" targetconnectionfactory " class=" Com.tibco.tibjms.TibjmsConnectionFactory ">              <property name= "ServerURL"  value= "tcp://localhost:1234"/>         </bean>          <bean id= " ConnectionFactory " class=" Org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter ">      &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBsp;  <property name= "Targetconnectionfactory"  ref= "Targetconnectionfactory"/>              <property name= "username"  value = "username"  />           <property name= " Password " value=" password " />       </bean>        <bean id= "Jmstemplate"  class= "Org.springframework.jms.core.JmsTemplate" >             <property name= " ConnectionFactory " ref=" ConnectionFactory "/>         </bean >                <bean id= " Queuedestination " class=" Com.tibco.tibjms.TibjmsQueue ">    

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.