모바일을 위한 푸시 알림에 대한 HTTP 프록시 지원
Connections 이벤트에 대한 알림을 모바일 사용자에게 보낼 수 있습니다.
시작하기 전에
인증 또는 비인증 프록시를 구성할 수 있습니다. 1단계는 인증 프록시를 사용하는 경우에만 필요합니다.
이 태스크 정보
푸시 알림을 위한 HTTP 프록시 지원을 사용으로 설정하고 구성하려면 다음 단계를 완료하십시오.
프로시저
- WebSphere® Application Server 관리자 콘솔에서 보안 > 글로벌 보안 > Java 인증 및 권한 서비스 > J2C 인증 데이터로 이동하여 Squid 프록시 서버 사용자 신임 정보에 대한 J2C 인증 별명을 추가하십시오. 별명으로 proxyMobilePushNotificationJAASAuth를 지정하십시오. 새 별명 이름에 셀의 노드 이름으로 접두부 지정(이전 릴리스와의 호환성을 위해) 옵션이 사용으로 설정되어 있지 않도록 하십시오. 선택을 제거한 후 적용을 클릭하십시오. 확인을 클릭하십시오.
- 편집을 위해 mobile-config.xml 파일을 체크아웃하십시오. 파일 체크아웃에 대한 자세한 정보는 모바일 구성 특성 값 변경 주제를 참조하십시오.
- 문서 편집기에서 mobile-config.xml 파일을 여십시오.
- 업데이트 중인 항목이 mobile-config.xml 배치 관리자(Dmgr) 서버 사본인지 확인하십시오. mobile-config.xml에서 다음 항목을
PushNotificationReapInterval 뒤에 있는 Push Notifications 섹션에 추가하십시오.
<ProxyHost>yourproxyhost</ProxyHost> <ProxyPort>yourproxyport</ProxyPort>다음 항목은 예제 항목입니다.<ProxyHost>calamari.rtp.raleigh.ibm.com</ProxyHost> <ProxyPort>3128</ProxyPort> - 옵션: HTTP 클라이언트 제한시간을 구성하려면 mobile-config.xml의 GCM 매개변수 내에 다음 선택적 Proxy Http Client 매개변수를 추가하십시오.
다음 코드 예제에 기본값이 표시되어 있습니다.
<GCM> <!-- Number of persistent connections to the GCM service --> <MaxPooledConnections>10</MaxPooledConnections> <!-- The interval in seconds before pending messages are flushed --> <MessageFlushInterval>15</MessageFlushInterval> <!-- API Key needed by the server to send the Push Message to GCM --> <GCMAPIKey></GCMAPIKey> <!-- Sender Id needed by the Client to register itself with GCM --> <GCMSenderId></GCMSenderId> <!-- Proxy Http Client: The timeout in seconds used when requesting a connection from the connection manager/pool. --> <ConnectionRequestTimeout>300</ConnectionRequestTimeout> <!-- Proxy Http Client: The timeout in seconds to establish a connection with the Proxy Server. --> <ConnectTimeout>100</ConnectTimeout> <!-- Proxy Http Client: Defines the socket timeout in seconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets). --> <SocketTimeout>300</SocketTimeout> </GCM> - mobile-config.xml의 Push Notifications 섹션에 있는 Push enabled가 mobile-config.xml의 배치 관리자 사본에서 사용으로 설정되었는지 확인하십시오.
- mobile-config.xml 파일을 저장하고 체크인하십시오.
- WebSphere Application Server 관리자 콘솔에서 mobile-config.xml의 애플리케이션 노드 사본을 업데이트하여 노드를 다시 동기화하십시오.