synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen" <andreas.veit...@gmail.com>
Subject Re: Build failure in the Synapse trunk
Date Sat, 20 Dec 2008 22:44:06 GMT
I think we should change GenericJMSClient to use the JMS API directly.
This will also make it easier for users to understand the sample code
and play with it.

Andreas

On Sat, Dec 20, 2008 at 18:33, Asanka Abeysinghe <asankaa@wso2.com> wrote:
> Hi,
> Build is broken in the trunk due to the JMS transport changes done on the
> axis-transport modules. Error as follows
>
> /home/asankaa/workspace/synapse-1.2-trunk/modules/samples/src/main/java/samples/userguide/GenericJMSClient.java:[74,40]
> createConnection(javax.jms.ConnectionFactory,java.lang.String,java.lang.String,boolean,java.lang.Boolean)
> in org.apache.axis2.transport.jms.JMSUtils cannot be applied to
> (javax.jms.ConnectionFactory,<nulltype>,<nulltype>,java.lang.String)
>
> /home/asankaa/workspace/synapse-1.2-trunk/modules/samples/src/main/java/samples/userguide/GenericJMSClient.java:[76,34]
> createSession(javax.jms.Connection,boolean,int,boolean,java.lang.Boolean) in
> org.apache.axis2.transport.jms.JMSUtils cannot be applied to
> (javax.jms.Connection,boolean,int,java.lang.String)
>
> /home/asankaa/workspace/synapse-1.2-trunk/modules/samples/src/main/java/samples/userguide/GenericJMSClient.java:[81,16]
> cannot find symbol
> symbol  : method
> sendMessageToJMSDestination(javax.jms.Session,javax.jms.Destination,java.lang.String,javax.jms.BytesMessage)
> location: class org.apache.axis2.transport.jms.JMSUtils
>
> /home/asankaa/workspace/synapse-1.2-trunk/modules/samples/src/main/java/samples/userguide/GenericJMSClient.java:[95,16]
> cannot find symbol
> symbol  : method
> sendMessageToJMSDestination(javax.jms.Session,javax.jms.Destination,java.lang.String,javax.jms.TextMessage)
> location: class org.apache.axis2.transport.jms.JMSUtils
>
> sendMessageToDestination method dose not exists in the new API, do we have
> to create a JMSSender instance for message dispatching ?
> Regards
> Asanka
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
> For additional commands, e-mail: dev-help@synapse.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message