I have some previous advice on using MQ. In fact this was done with
Synapse, but the advice might help:
Websphere MQ 6 on Windows XP
QM_upul = default queue manager
MQ_HOME\bin\runmqsc.bat QM_upul
(Enter commands in sub-shell.)
define qlocal(Q1)
end
Using the file system based JNDI for this time.
Changed MQ_HOME\Java\bin\JMSAdmin.config.
INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
PROVIDER_URL=file:/C:/JNDI-Directory
MQ_HOME\Java\bin\JMSAdmin.bat -cfg JMSAdmin.config
(Enter commands in sub-shell.)
def qcf(ConnectionFactory) qmgr(QM_upul)
def q(StockQuoteProxy) qmgr(QM_upul) queue(Q1)
end
Added in Synapse axis2.xml
<transportReceiver name="jms"
class="org.apache.axis2.transport.jms.JMSListener">
<parameter name="default">
<parameter
name="java.naming.factory.initial">com.sun.jndi.fscontext.RefFSContextFa
ctory</parameter>
<parameter
name="java.naming.provider.url">file:/C:/JNDI-Directory</parameter>
<parameter
name="transport.jms.ConnectionFactoryJNDIName">ConnectionFactory</parame
ter>
</parameter>
</transportReceiver>
Copy from MQ_HOME\Java\lib to Synapse lib
com.ibm.mq.jar
com.ibm.mqjms.jar
connector.jar
dhbcore.jar
fscontext.jar
providerutil.jar
Paul
On Jan 10, 2008 4:45 PM, callagc4 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> We are currently using axis2 in a standalone server. I have been trying to
> configure axis2 to hook up with websphereMQ. However i am unsure of how to
> configure axis2 for this as all the examples i have found are for activeMQ.
> Could anyone tell me how this can be done? My main area of concern is the
> definition of a jms transportReciever for websphereMQ. Any advice would be
> much appriciated.
>
> My attempts so far have left me here, using the definition below. However
> this currently does not work. The first issue is that the initial context
> factory being used is based in websphere not websphereMQ. Secondly how do i
> configure this jndi resource in websphereMQ, i.e configure
> jms/QueueConnectionFactory
>
> <transportReceiver name="jms"
> class="org.apache.axis2.transport.jms.JMSListener">
> <parameter name="default">
> <parameter
> name="java.naming.factory.initial">com.ibm.mq.jms.context.WMQInitialContextFactory</parameter>
> <parameter name="java.naming.provider.url">localhost:1414</parameter>
> <parameter
> name="transport.jms.ConnectionFactoryJNDIName">jms/QueueConnectionFactory</parameter>
> </parameter>
> </transportReceiver>
>
> Thanks,
> Cathal
>
> --
> View this message in context:
> http://www.nabble.com/Axis2-JMS-Transport-to-WebSphere-MQ-tp14738492p14738492.html
> Sent from the Axis - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Paul Fremantle
Co-Founder and VP of Technical Sales, WSO2
OASIS WS-RX TC Co-chair
blog: http://pzf.fremantle.org
[EMAIL PROTECTED]
"Oxygenating the Web Service Platform", www.wso2.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]