41. 寻址服务的所有实例
“destination”参数用于 Spring PathMatcher
(路径分隔符为冒号:
),以确定实例是否将处理该消息。使用上面的 example,“/bus/refresh?destination=customers:**”将定位“customers”服务的所有实例,而不管 profiles 和端口设置为ApplicationContext
ID。
“destination”参数用于 Spring PathMatcher
(路径分隔符为冒号:
),以确定实例是否将处理该消息。使用上面的 example,“/bus/refresh?destination=customers:**”将定位“customers”服务的所有实例,而不管 profiles 和端口设置为ApplicationContext
ID。