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 <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
