Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 83CFD10412 for ; Sat, 3 May 2014 22:43:16 +0000 (UTC) Received: (qmail 92945 invoked by uid 500); 3 May 2014 22:43:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 92857 invoked by uid 500); 3 May 2014 22:43:14 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 92846 invoked by uid 99); 3 May 2014 22:43:14 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 May 2014 22:43:14 +0000 Date: Sat, 3 May 2014 22:43:14 +0000 (UTC) From: "Sandro Salari (JIRA)" To: dev@activemq.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (AMQ-5171) Boreker configured as zeroconf service is not discovered by Bonjour browser running in ios MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMQ-5171?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D139888= 30#comment-13988830 ]=20 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-specific= ation/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 estab= lished in A DNS RR for specifying the location of services (DNS SRV) [RFC27= 82]. Service types are of the form =E2=80=9C_applicationprotocol._transport= protocol=E2=80=9D. *Currently, =E2=80=9C_transportprotocol=E2=80=9D MUST be= either =E2=80=9C_tcp=E2=80=9D or =E2=80=9C_udp=E2=80=9D*. The =E2=80=9C_ap= plicationprotocol=E2=80=9D MUST be a protocol name registered with IANA and= appearing in the list of registered IANA protocol names and port numbers.= =20 {panel}. The problem on ActiveMQ code is in=20 *org.apache.activemq.transport.discovery.zeroconf.ZeroconfDiscoveryAgent* w= here transportprotocol string is fixed at "ActiveMQ-5.", change it to "_tc= p.local." (by exending and overrides create ServiceInfo method) fix the pro= blem 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-specific= ation/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 estab= lished in A DNS RR for specifying the location of services (DNS SRV) [RFC27= 82]. Service types are of the form =E2=80=9C_applicationprotocol._transport= protocol=E2=80=9D. *strong*Currently, =E2=80=9C_transportprotocol=E2=80=9D = MUST be either =E2=80=9C_tcp=E2=80=9D or =E2=80=9C_udp=E2=80=9D*strong*. Th= e =E2=80=9C_applicationprotocol=E2=80=9D MUST be a protocol name registered= with IANA and appearing in the list of registered IANA protocol names and = port numbers.=20 {panel} > Boreker configured as zeroconf service is not discovered by Bonjour brows= er 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=3DqueueContext.xml|borderStyle=3Dsolid} > > =09=09=09 > > {code} > The service exposed is not discovered by ios or iosX Bonjour browser (y= ou can use [Bonjour Browser|https://itunes.apple.com/it/app/discovery-bonjo= ur-browser/id305441017?mt=3D8] on mac to test it)=20 -- This message was sent by Atlassian JIRA (v6.2#6252)