activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sandro Salari (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AMQ-5171) Boreker configured as zeroconf service is not discovered by Bonjour browser running in ios
Date Sat, 03 May 2014 22:43:14 GMT

    [ https://issues.apache.org/jira/browse/AMQ-5171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13988830#comment-13988830
] 

Sandro Salari edited comment on AMQ-5171 at 5/3/14 10:42 PM:
-------------------------------------------------------------

The issue is due to not compliance of ActiveMQ "Service Instance Name" to [Bonjour specification|https://developer.apple.com/bonjour/printing-specification/bonjourprinting-1.2.pdf].
In the section 8 (Service Types) of the document can be read:
{panel}
DNS Service Discovery uses the same format for service types that was established in A DNS
RR for specifying the location of services (DNS SRV) [RFC2782]. Service types are of the form
“_applicationprotocol._transportprotocol”. *Currently, “_transportprotocol” MUST be
either “_tcp” or “_udp”*. The “_applicationprotocol” MUST be a protocol name registered
with IANA and appearing in the list of registered IANA protocol names and port numbers. 
{panel}.
The problem on ActiveMQ code is in 
*org.apache.activemq.transport.discovery.zeroconf.ZeroconfDiscoveryAgent* where transportprotocol
string is fixed at  "ActiveMQ-5.", change it to "_tcp.local." (by exending and overrides create
ServiceInfo method) fix the problem with Bonjour discovering.


was (Author: xandros):
The issue is due to not compliance of ActiveMQ "Service Instance Name" to [Bonjour specification|https://developer.apple.com/bonjour/printing-specification/bonjourprinting-1.2.pdf].
In the section 8 (Service Types) of the document can be read:
{panel}
DNS Service Discovery uses the same format for service types that was established in A DNS
RR for specifying the location of services (DNS SRV) [RFC2782]. Service types are of the form
“_applicationprotocol._transportprotocol”. *strong*Currently, “_transportprotocol”
MUST be either “_tcp” or “_udp”*strong*. The “_applicationprotocol” MUST be a
protocol name registered with IANA and appearing in the list of registered IANA protocol names
and port numbers. 
{panel}

> Boreker configured as zeroconf service is not discovered by Bonjour browser running in
ios
> ------------------------------------------------------------------------------------------
>
>                 Key: AMQ-5171
>                 URL: https://issues.apache.org/jira/browse/AMQ-5171
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.9.1
>         Environment: Windows 7 - 64 bit
> Eclipse Kepler
> JDK 1.7
> Spring 4.0
>            Reporter: Sandro Salari
>            Priority: Minor
>
> Configure broker to expose its URi via zeroconf agent using :
> {code:xml|title=queueContext.xml|borderStyle=solid}
> <amq:transportConnectors>
>     <amq:transportConnector name="mqtt" uri="${jms.brokerurl}" discoveryUri="zeroconf://mainnode"/>
		
> </amq:transportConnectors>
> {code}
> The service exposed is not discovered by ios or iosX Bonjour browser   (you can use [Bonjour
Browser|https://itunes.apple.com/it/app/discovery-bonjour-browser/id305441017?mt=8] on mac
 to test it) 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message