Java Doc for JMSControl.java in  » Library » Apache-beehive-1.0.2-src » org » apache » beehive » controls » system » jms » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Library » Apache beehive 1.0.2 src » org.apache.beehive.controls.system.jms 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.beehive.controls.system.jms.JMSControl

All known Subclasses:   org.apache.beehive.controls.system.jms.impl.JMSControlImpl,
JMSControl
public interface JMSControl (Code)
The control interface for the jms control.

Inner Class : enum DestinationType
Inner Class : enum HeaderType
Inner Class : enum MessageType
Inner Class : enum DeliveryMode
Inner Class : enum AcknowledgeMode
Inner Class :public @interface Message
Inner Class :public @interface Property
Inner Class :public @interface PropertyValue
Inner Class :public @interface Priority
Inner Class :public @interface Type
Inner Class :public @interface CorrelationId
Inner Class :public @interface Expiration
Inner Class :public @interface Delivery
Inner Class :public @interface Properties
Inner Class :public @interface Destination

Field Summary
final public static  StringHEADER_CORRELATIONID
     Indicates the JMSCorrelationID message header.
final public static  StringHEADER_DELIVERYMODE
     Indicates the JMSDeliveryMode message header.
final public static  StringHEADER_EXPIRATION
     Indicates the JMSExpiration message header.
final public static  StringHEADER_MESSAGEID
     Indicates the JMSMessageID message header.
final public static  StringHEADER_PRIORITY
     Indicates the JMSPriority message header.
final public static  StringHEADER_REDELIVERED
     Indicates the JMSRedelivered message header.
final public static  StringHEADER_TIMESTAMP
     Indicates the JMSTimestamp message header.
final public static  StringHEADER_TYPE
     Indicates the JMSType message header.


Method Summary
public  javax.jms.ConnectiongetConnection()
     Get the javax.jms.Connection .
public  javax.jms.DestinationgetDestination()
     Get the javax.jms.Destination .
public  SessiongetSession()
     Get the Session .
public  voidsetHeader(JMSControl.HeaderType type, Object value)
     Sets a JMS header to be assigned to the next JMS message sent.
public  voidsetHeaders(Map headers)
     Sets the JMS headers to be assigned to the next JMS message sent.
public  voidsetProperties(Map properties)
     Sets the JMS properties to be assigned to the next JMS message sent.
public  voidsetProperty(String name, Object value)
     Set the given JMS property to be assigned to the next JMS message sent.

Field Detail
HEADER_CORRELATIONID
final public static String HEADER_CORRELATIONID(Code)
Indicates the JMSCorrelationID message header.
See Also:   HeaderType.JMSCorrelationID



HEADER_DELIVERYMODE
final public static String HEADER_DELIVERYMODE(Code)
Indicates the JMSDeliveryMode message header.
See Also:   HeaderType.JMSDeliveryMode



HEADER_EXPIRATION
final public static String HEADER_EXPIRATION(Code)
Indicates the JMSExpiration message header. Use with the getHeaders and setHeaders methods.
See Also:   HeaderType.JMSExpiration



HEADER_MESSAGEID
final public static String HEADER_MESSAGEID(Code)
Indicates the JMSMessageID message header.
See Also:   HeaderType.JMSMessageID



HEADER_PRIORITY
final public static String HEADER_PRIORITY(Code)
Indicates the JMSPriority message header.
See Also:   HeaderType.JMSPriority



HEADER_REDELIVERED
final public static String HEADER_REDELIVERED(Code)
Indicates the JMSRedelivered message header.
See Also:   HeaderType.JMSRedelivered



HEADER_TIMESTAMP
final public static String HEADER_TIMESTAMP(Code)
Indicates the JMSTimestamp message header.
See Also:   HeaderType.JMSTimestamp



HEADER_TYPE
final public static String HEADER_TYPE(Code)
Indicates the JMSType message header.
See Also:   HeaderType.JMSType





Method Detail
getConnection
public javax.jms.Connection getConnection() throws ControlException(Code)
Get the javax.jms.Connection . the connection.



getDestination
public javax.jms.Destination getDestination() throws ControlException(Code)
Get the javax.jms.Destination . an instance destination object.



getSession
public Session getSession() throws ControlException(Code)
Get the Session . the session.



setHeader
public void setHeader(JMSControl.HeaderType type, Object value)(Code)
Sets a JMS header to be assigned to the next JMS message sent. Note that this headers is set only on the next message, subsequent messages will not get this header. Also note that if the body is a message itself, then the header set here will override the header set in the message.
Parameters:
  type - the header type.
Parameters:
  value - the value for the header.



setHeaders
public void setHeaders(Map headers)(Code)
Sets the JMS headers to be assigned to the next JMS message sent. Note that these headers are set only on the next message, subsequent messages will not get these headers. Also note that if the body is a message itself, then any header set through this map will override headers set in the message.
Parameters:
  headers - A map of header names (Strings or HeaderType) to header values.



setProperties
public void setProperties(Map properties)(Code)
Sets the JMS properties to be assigned to the next JMS message sent. Note that these properties are set only on the next message, subsequent messages will not get these properties. Also note that if the next message is sent through a publish method, then any property set through this map will override properties set in the message itself.
Parameters:
  properties - A map of property names (Strings) to propertyvalues.



setProperty
public void setProperty(String name, Object value)(Code)
Set the given JMS property to be assigned to the next JMS message sent. Note that this property is set only on the next message, subsequent messages will not get this property. Also note that if the body is a message itself, then the property set here will override the property set in the message.
Parameters:
  name - the property name.
Parameters:
  value - the property value.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.