암은 봄이오류 : 'ConnectionFactory에'
org.springframework.beans.factory 예외 아래 integration.getting의 도움으로 웹 로직 큐를 들으려고 빈에 대한 참조를 확인할 수 없습니다. BeanCreationException : 이름이 'inboundJms.container'인 Bean을 생성하는 중 오류가 발생했습니다 : 'connectionFactory'bean 속성을 설정하는 동안 bean 'connectionFactory'에 대한 참조를 해석 할 수 없습니다. 상자의 예외는 org.springframework.beans.factory.NoSuchBeanDefinitionException 없습니다 : 기본 스프링 통합 JMS으로 'ConnectionFactory를'사용할 수
의 Config.xml
<bean id="wljndiTemplate" class="org.springframework.jndi.JndiTemplate" lazy-init="true">
<property name="environment">
<props>
<prop key="java.naming.factory.initial">weblogic.jndi.WLInitialContextFactory</prop>
<prop key="java.naming.provider.url">-------</prop>
<prop key="java.naming.security.principal">-------</prop>
<prop key="java.naming.security.credentials">-------</prop>
</props>
</property>
</bean>
<bean id="wlConnectionFactory" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiTemplate" ref="wljndiTemplate" />
<property name="jndiName" value="QueueConnFactory" />
</bean>
<bean id="wlDestinationResolver" class="org.springframework.jms.support.destination.JndiDestinationResolver">
<property name="jndiTemplate" ref="wljndiTemplate" />
<property name="cache" value="true" />
</bean>
<bean id="inboundResponseQueue" class="org.springframework.jndi.JndiObjectFactoryBean">
<property name="jndiTemplate" ref="wljndiTemplate" />
<property name="jndiName" value="OutboundQueue" />
라는 이름의 빈 InboundAdapter.xml
<jms:message-driven-channel-adapter id="inboundJms" destination="ContactOutboundQueue" channel="messageReceiver" />
<!--<router id="msgRouter" auto-startup="true" input-channel="messageReceiver" default-output-channel="" ref="routeInfo" method="getQueueMessage"/>-->
<integration:service-activator id="msgRouter" input-channel="messageReceiver" ref="routeInfo" method="getQueueMessage"/>
고마워요. – Doss