简体   繁体   English

Tibco发送命令

[英]Tibco send command

I'm trying to send message using tibrvsend command. 我正在尝试使用tibrvsend命令发送消息。

The scenarios is like below , 情况如下所示,

I've server running on network , I'm able to ping the server Ip address and able to connect using remote desktop connection. 我的服务器在网络上运行,我能够ping服务器的IP地址并能够使用远程桌面连接进行连接。

On the server i'm listening to the subject 在服务器上,我正在听主题

tibrvlisten -service 7541 -network ;239.193.1.110 MY.SUBJECT 

From my local machine I'm trying to send message to the same subject above, but it is not reaching to the server. 从我的本地计算机,我试图将消息发送到上面的同一主题,但是没有到达服务器。 If i use the same send command on the server it is working fine and message is reaching . 如果我在服务器上使用相同的send命令,则它工作正常并且消息到达。 I'm not able send the same from my local to server. 我无法将其从本地发送到服务器。

tibrvsend -service 7541 -network 184.10.34.9;239.193.1.110 -daemon tcp:7541  MY.SUBJECT "Hello Test Message"

The error i'm getting on console is tibrvsend: Failed to initialize transport: Could not resolve network specification 我在控制台上tibrvsend: Failed to initialize transport: Could not resolve network specification的错误是tibrvsend: Failed to initialize transport: Could not resolve network specification

Try to keep the network parameter as simple as possible, and only use the daemon parameter if you are running multiple daemons or using a remote daemon. 尝试使网络参数尽可能简单,并且仅在运行多个守护程序或使用远程守护程序时才使用守护程序参数。

tibrvsend -service 7541 -network ";239.193.1.110"  MY.SUBJECT "Hello Test Message"

On Windows you often have multiple network adapters which is why you sometimes need to be more specific with the first parameter. 在Windows上,您通常有多个网络适配器,这就是为什么有时需要使用第一个参数来更加具体的原因。 The interface address is usually the easiest form to use as you have discovered. 正如您所发现的,接口地址通常是最容易使用的形式。

-network "<local ip address>;239.193.1.110" ...

On Unix platforms you can use the interface name or network name from /etc/networks but you do not have this luxury on Windows, and often IPv6 renders it unusable. 在Unix平台上,您可以使用/etc/networks的接口名称或网络名称,但在Windows上却没有这种奢侈,并且IPv6通常使其无法使用。

Read the RV Concepts Guide for more discussion on the network parameter. 阅读《 RV概念指南》,以获取有关网络参数的更多讨论。

-network "<hostname>;239.193.1.110" ...

The most useful being network IP, eg 1.2.3. 最有用的是网络IP,例如1.2.3。 will match interface 1.2.3.4 将匹配接口1.2.3.4

-network "<network IP>;239.193.1.110" ...

It's working.. 在工作

tibrvsend -service 7541 -network "local-ip;239.193.1.110;server-ip" MY.SUBJECT "This is from local machine" tibrvsend -service 7541 -network“ local-ip; 239.193.1.110; server-ip” MY.SUBJECT“这是来自本地计算机”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM