You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by "John.wu" <ww...@gmail.com> on 2010/02/24 12:47:29 UTC
Why can not view the data in the database?
Dear all:
my use activemq -5.3.0 version.In the project ,my activemq.xml
config:
<broker xmlns="http://activemq.apache.org/schema/core"
brokerName="localhost" dataDirectory="${activemq.base}/data"
persistent="true">
<persistenceAdapter>
<jdbcPersistenceAdapter dataSource="#oracle-ds" />
</persistenceAdapter>
</broker>
---------------------
2.my web.xml config:
<context-param>
<description>The URL of the Message Broker to connect to</description>
<param-name>org.apache.activemq.brokerURL</param-name>
<param-value>tcp://localhost:61616</param-value>
</context-param>
<servlet>
<servlet-name>AjaxServlet</servlet-name>
<servlet-class>mq.AjaxServlet</servlet-class>
</servlet>
3.jsp page code:
amq.sendMessage("queue://BET.<%=evtId %>",<%=evtId %>);
--------------------------
How to evtid stored to the database?
thanks!!:-)
--
View this message in context: http://old.nabble.com/Why-can-not-view-the-data-in-the-database--tp27714168p27714168.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.