Groups
Sign in
Groups
ace-china
Conversations
About
Send feedback
Help
通知服务可靠性问题
6 views
Skip to first unread message
evangel
unread,
Mar 31, 2009, 2:27:17 AM
3/31/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ace-china
实现通知服务的可靠性时,分别配置连接可靠性(Configuring Connection (Topologogy) Reliability)与
事件可靠性(Configuring Event Reliability)。
启动NotifyService :%TAO_ROOT%/orbsvcs/Notify_Service/Notify_Service -
ORBInitRef NameService=iioploc://hostlocal:12345/NameService -
ORBSvcConf C:\svc.conf
svc.conf配置文件内容如下:
static TAO_CosNotify_Service
"-AllocateTaskPerProxy -DispatchingThreads 2 -SourceThreads 2 -
AllowReconnect"
dynamic Topology_Factory Service_Object*
TAO_CosNotification_Persist:_make_XML_Topology_Factory()
"-base_path/C:\ "
dynamic Event_Persistence Service_Object*
TAO_CosNotification_Persist:_make_Standard_Event_Persistence()
"-file_path/C:\xxx.db "
代码里也增加了QoSProperties的相关赋值,但是运行效果没有变化。
evangel
unread,
Apr 1, 2009, 10:41:22 PM
4/1/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ace-china
static TAO_CosNotify_Service
"-AllocateTaskPerProxy -DispatchingThreads 2 -SourceThreads 2 -
AllowReconnect"
上面的配置,功能是在consumer与服务器连接中断时允许consumer再次连接服务器端,我是用禁用通信端口实现的测试,而且我
发现重连是有时间限制(大约是15~20秒)。
另外两个配置的作用还没弄明白,望高手指点下~~~
Reply all
Reply to author
Forward
0 new messages