JMSTransport policy and binding properties

Use the -attributes parameter for the setPolicyType and setBinding commands to specify additional configuration information for the JMSTransport policy and policy set binding. Application policy sets can use the JMSTransport policy and binding.

AdminTask 오브젝트의 PolicySetManagement 그룹에 있는 다음 명령 및 매개변수를 사용하여 정책 세트 구성을 사용자 정의하십시오.
  • getPolicyType 및 getBinding 명령에 -attributes 매개변수를 사용하여 정책 및 바인딩 구성에 대한 특성을 보십시오. 속성을 가져오려면 특성 이름을 getPolicyType 또는 getBinding 명령에 전달하십시오.
  • setPolicyType 및 setBinding 명령에 -attributes 매개변수를 사용하여 정책 및 바인딩 구성에서 특성을 추가, 업데이트 또는 제거하십시오. 속성을 추가하거나 업데이트하려면 특성 이름과 값을 지정하십시오. setPolicyType 및 setBinding 명령은 속성이 있는 경우 값을 업데이트하며, 속성이 없는 경우에는 속성 및 값을 추가합니다. 속성을 제거하려면 값을 빈 문자열("")로 지정하십시오. -attributes 매개변수는 특성 오브젝트를 허용합니다.
Note: -attributes 매개변수와 함께 제공된 특성 이름 또는 값이 유효하지 않으면, setPolicyType 및 setBinding 명령이 예외와 함께 실패합니다. 유효하지 않은 특성은 SystemOut.log 파일에 오류나 경고로 로그됩니다. 그러나 명령 예외는 예외의 원인이 된 특성에 대한 자세한 정보를 포함하지 않을 수도 있습니다. setPolicyType 및 setBinding 명령이 실패하면, SystemOut.log 파일에서 -attributes 매개변수 입력에 유효하지 않은 하나 이상의 특성이 포함되어 있음을 나타내는 오류 및 경고 메시지를 확인하십시오.
Note: 이 주제는 하나 이상의 애플리케이션 서버 로그 파일을 참조합니다. 권장되는 대안은 분배 및 IBM® i 시스템에서 SystemOut.log, SystemErr.log, trace.logactivity.log 파일을 사용하는 대신 HPEL(High Performance Extensible Logging) 로그를 사용하고 인프라를 추적하도록 서버를 구성하는 것입니다. 원시 z/OS® 로깅 기능과 연계하여 HPEL을 사용할 수도 있습니다. HPEL을 사용하는 경우 서버 프로파일 바이너리 디렉토리의 LogViewer 명령행 도구를 사용하여 모든 로그에 액세스하고 정보를 추적할 수 있습니다. HPEL 사용에 대한 자세한 정보는 HPEL을 사용한 애플리케이션 문제점 해결 정보를 참조하십시오.
전이 사용자용 전이 사용자용: WebSphere Application Server 버전 7.0 이상에서는 보안 모델이 서버 기반 보안 모델이 아닌 도메인 중심의 보안 모델로 향상되었습니다. 기본 글로벌 보안(셀) 레벨 및 기본 서버 레벨 바인딩 구성도 이 제품 버전에서 변경되었습니다. WebSphere Application Server 버전 6.1 Feature Pack for Web Services에서는 셀에 대한 기본 바인딩으로 한 개의 세트를 구성할 수 있으며, 선택적으로 각 서버에 대한 기본 바인딩으로 한 개의 세트를 구성할 수 있습니다. 버전 7.0 이상에서는 하나 이상의 일반 서비스 제공자 바인딩 및 하나 이상의 일반 서비스 클라이언트 바인딩을 구성할 수 있습니다. 일반 바인딩을 구성한 후에는 글로벌 기본 바인딩으로 사용할 바인딩을 이 중에서 지정할 수 있습니다. 또한 선택적으로 애플리케이션 서버 또는 보안 도메인에 대한 기본 바인딩으로 사용할 일반 바인딩을 지정할 수도 있습니다. trns

혼합 셀 환경을 지원하기 위해 WebSphere Application Server에서는 버전 7.0 및 버전 6.1 바인딩을 지원합니다. 일반 셀 레벨 바인딩은 버전 7.0 이상에만 적용되며, 애플리케이션별 바인딩은 애플리케이션에 필요한 버전에 남아 있습니다. 따라서 사용자가 애플리케이션별 바인딩을 작성하면 애플리케이션 서버에서 애플리케이션에 필요한 바인딩 버전을 판별합니다.

The following sections explain the policy and binding properties to configure:

JMSTransport policy properties

Use the JMSTransport policy set to configure JMS transport for applications that use the Java Messaging Service (JMS) to exchange request and response messages.

Configure the JMSTransport policy by specifying the following attributes with the setPolicyType command:
requestTimeout
Specifies the request timeout value. The request timeout value is the amount of time, in seconds, that the client waits for a response after sending the request to the server. The default value is 300 seconds. If you specify an integer value of zero or less, the system sets the requestTimeout property to the default value of 300 seconds. No maximum value exists for this property.
allowTransactionalAsyncMessaging
Specifies whether a client uses transactions in one-way or asynchronous two-way requests. The default value for this property is false. Set the value of this property to true to enable transactional messaging. When enabled, the client runtime exchanges SOAP request and response messages with the server over the JMS transport in a transactional manner if the client operates under a transaction.
The client transaction is used to send the SOAP request message to the destination queue or topic, and the server receives the request message only after the client commits the transaction. Similarly, the server receives the request message under the control of a container-managed transaction and sends the reply message, if applicable, back to the client using that same transaction. Then, the client receives the reply message after the server transaction is committed.
The following setPolicyType example command sets values for each JMSTransport binding property:
AdminTask.setPolicyType('[-policySet "JMS custom" -policyType JMSTransport 
 -attributes "[[requestTimeout 300][allowTransactionalAsynMessaging false]]"]')

JMSTransport binding properties

Configure the JMSTransport binding by specifying the following attributes with the setBinding command:
outRequestBasicAuth:userid
Specifies the user name or basic authentication of outbound service requests.
outRequestBasicAuth:password
Specifies the password for basic authentication of outbound service requests.
The following setBinding example command sets values for each HTTPTransport binding property:
AdminTask.setBinding('[-bindingLocation "" -bindingName generalCellWideBind1 
 -policyType JMSTransport -attributes "[[outRequestBasicAuth:userid myID] [outRequestBasicAuth:password myPW]]"]')

주제 유형을 표시하는 아이콘 참조 주제



시간소인 아이콘 마지막 업데이트 날짜: July 9, 2016 6:10
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rxml_wsfpjmstransport
파일 이름:rxml_wsfpjmstransport.html