| 1 23 24 25 package javax.jms; 26 27 import java.util.Enumeration ; 28 import java.util.Properties ; 29 30 546 547 public interface Message { 548 549 553 static final int DEFAULT_DELIVERY_MODE = DeliveryMode.PERSISTENT; 554 555 557 static final int DEFAULT_PRIORITY = 4; 558 559 562 static final long DEFAULT_TIME_TO_LIVE = 0; 563 564 565 605 606 String  607 getJMSMessageID() throws JMSException ; 608 609 610 622 623 void 624 setJMSMessageID(String id) throws JMSException ; 625 626 627 660 661 long 662 getJMSTimestamp() throws JMSException ; 663 664 665 677 678 void 679 setJMSTimestamp(long timestamp) throws JMSException ; 680 681 682 696 697 byte [] 698 getJMSCorrelationIDAsBytes() throws JMSException ; 699 700 701 726 727 void 728 setJMSCorrelationIDAsBytes(byte[] correlationID) throws JMSException ; 729 730 731 773 774 void 775 setJMSCorrelationID(String correlationID) throws JMSException ; 776 777 778 793 794 String  795 getJMSCorrelationID() throws JMSException ; 796 797 798 810 811 Destination  812 getJMSReplyTo() throws JMSException ; 813 814 815 846 847 void 848 setJMSReplyTo(Destination replyTo) throws JMSException ; 849 850 851 870 871 Destination  872 getJMSDestination() throws JMSException ; 873 874 875 887 888 void 889 setJMSDestination(Destination destination) throws JMSException ; 890 891 892 902 903 int 904 getJMSDeliveryMode() throws JMSException ; 905 906 907 920 921 void 922 setJMSDeliveryMode(int deliveryMode) throws JMSException ; 923 924 925 940 941 boolean 942 getJMSRedelivered() throws JMSException ; 943 944 945 959 960 void 961 setJMSRedelivered(boolean redelivered) throws JMSException ; 962 963 964 974 975 String  976 getJMSType() throws JMSException ; 977 978 979 1009 1010 void 1011 setJMSType(String type) throws JMSException ; 1012 1013 1014 1042 1043 long 1044 getJMSExpiration() throws JMSException ; 1045 1046 1047 1059 1060 void |