perl MQSeries::Queue sync方法
来源:互联网 发布:有了源码怎么做软件 编辑:程序博客网 时间:2024/05/24 00:33
Sync This is a flag to indicate that the Syncpoint option is to be used, and the message(s) not committed to the queue until an MQBACK, MQCOMM or MQDISC call is made. These are both wrapped with the queue manager Backout(), Commit() and Disconnect() methods respectively. The value is simply interpreted as true or false. If the Sync option is combined with the PutMsgOpts option, the Options field in the PutMsgOpts is checked for compatibility. If the Sync flag is true and the PutMsgOpts specifies MQseries::MQPMO_NO_SYNCPOINT, or vice versa, a fatal error is raised. If no conflict exists, the Sync flag amends the PutMsgOpts.$queue-> Get(Message => $getmessage, Sync => 1, ) or die("Unable to get message\n" . "CompCode = " . $queue->CompCode() . "\n" . "Reason = " . $queue->Reason() . "\n"); print "第一条消息:==="; print $getmessage->Data(); print "\n"; # $qmgr_obj->Commit(); 这是一个标志表明 Syncpoint 选项被使用,消息不会提交到队列直到一个 MQBACK, MQCOMM or MQDISC 调用被请求。 那些都被封装为Backout(), Commit() and Disconnect() methods 这个值是简单的解释为true或者false
0 0
- perl MQSeries::Queue sync方法
- Message Queue: MSMQ/MQSeries
- MQSeriesQueue O O 接口到MQSeries Queue objects:
- [IOS 开发] GCD中 QUEUE 和 async/sync
- Java基础--FileDescriptor sync方法
- perl synccheck和sync 之间的继承关系
- perl 函数回调 引用$client->run(sub {$client->sync});
- sync
- sync
- sync
- sync
- sync
- sync
- sync
- sync
- queue的方法
- jQuery之queue()方法
- JQuery的queue方法
- 【IMWeb训练营作业】To do list
- Linux内核学习总结
- 滑动窗口的最大值模拟实现
- 计算销售税
- 三种方法实现按钮的点击事件
- perl MQSeries::Queue sync方法
- Swoole 安装 使用
- Android 自定义编译时注解1
- 在 Linux 下学习 C 语言有什么好处?
- mysql数据库jdbc连接通用类
- zoj3954 Seven-Segment Display
- 概率图模型之:贝叶斯网络
- Isomorphic Strings
- Linux下jdk的安装