1 7 package org.jboss.jms.serverless; 8 9 import org.jboss.logging.Logger; 10 import javax.jms.JMSException ; 11 import javax.jms.Destination ; 12 import javax.jms.Message ; 13 import javax.jms.MessageProducer ; 14 15 21 class MessageProducerImpl implements MessageProducer { 22 23 private static final Logger log = Logger.getLogger(MessageProducerImpl.class); 24 25 private SessionImpl session; 26 private Destination destination; 27 28 MessageProducerImpl(SessionImpl session, Destination destination) { 29 30 this.session = session; 31 this.destination = destination; 32 33 } 35 36 37 41 42 public void setDisableMessageID(boolean value) throws JMSException { 43 throw new NotImplementedException(); 44 } 45 46 public boolean getDisableMessageID() throws JMSException { 47 throw new NotImplementedException(); 48 } 49 50 public void setDisableMessageTimestamp(boolean value) throws JMSException { 51 throw new NotImplementedException(); 52 } 53 54 public boolean getDisableMessageTimestamp() throws JMSException { 55 throw new NotImplementedException(); 56 } 57 58 public void setDeliveryMode(int deliveryMode) throws JMSException { 59 throw new NotImplementedException(); 60 } 61 62 public int getDeliveryMode() throws JMSException { 63 throw new NotImplementedException(); 64 } 65 66 public void setPriority(int defaultPriority) throws JMSException { 67 throw new NotImplementedException(); 68 } 69 70 public int getPriority() throws JMSException { 71 throw new NotImplementedException(); 72 } 73 74 public void setTimeToLive(long timeToLive) throws JMSException { 75 throw new NotImplementedException(); 76 } 77 78 public long getTimeToLive() throws JMSException { 79 throw new NotImplementedException(); 80 } 81 82 public Destination getDestination() throws JMSException { 83 return destination; 84 } 85 86 public void close() throws JMSException { 87 throw new NotImplementedException(); 88 } 89 90 public void send(Message message) throws JMSException { 91 92 message.setJMSDestination(destination); 93 session.send(message); 94 95 } 96 97 public void send(Message message, int deliveryMode, int priority, long timeToLive) 98 throws JMSException { 99 throw new NotImplementedException(); 100 } 101 102 public void send(Destination destination, Message message) throws JMSException { 103 throw new NotImplementedException(); 104 } 105 106 public void send(Destination destination, 107 Message message, 108 int deliveryMode, 109 int priority, 110 long timeToLive) throws JMSException { 111 throw new NotImplementedException(); 112 } 113 114 } 115 | Popular Tags |