Download "Getting Started"

Transcript
4
Habari Client for OpenMQ 2.9
Message Options.................................................................................39
JMS Standard Properties................................................................................ 39
JMS properties for outgoing messages..............................................................39
JMS properties for incoming messages..............................................................39
Reserved Names............................................................................................40
JMS Selectors................................................................................................. 41
Supported message brokers ...........................................................................41
Object Messages.................................................................................42
Introduction................................................................................................... 42
Object Serialization........................................................................................42
Message Transformers................................................................................... 42
Memory Management.....................................................................................42
Assign a Message Transformer.........................................................................43
Create and Send an ObjectMessage..................................................................43
Complete Example using NativeXml..................................................................43
Stomp 1.2............................................................................................45
Connection Configuration...............................................................................45
Specification..................................................................................................46
Sending heart-beat signals.............................................................................46
Checking for incoming heartbeats..................................................................47
Reading server-side heartbeats......................................................................47
Example Applications..........................................................................48
Broker-independent example projects............................................................49
Broker-specific preparation............................................................................49
Shared units for demo projects......................................................................49
SSL communication adapter units...................................................................49
ConsumerTool................................................................................................ 50
Examples......................................................................................................51
ProducerTool.................................................................................................. 52
Examples......................................................................................................52
Performance Test........................................................................................... 54
Throughput Test Tool..................................................................................... 56
Examples......................................................................................................56
Logging with Log4D............................................................................57
Introduction................................................................................................... 57
IDE configuration........................................................................................... 57
Minimal example............................................................................................ 57
Log4D configuration file.................................................................................57
Example file “log4d.props”...............................................................................58
Conditional Symbols............................................................................60
HABARI_LOGGING..........................................................................................60
HABARI_RAW_TRACE.....................................................................................60
Useful Units.........................................................................................61
BTStreamHelper............................................................................................. 61
BTJavaPlatform.............................................................................................. 61