Have you added the oracle.jms bundle to your container? Looks like it cannot
be resolved.

Regards
/Dave

On Fri, May 14, 2010 at 2:09 PM, kkashi <[email protected]> wrote:

>
> Hello,
>
> I'm trying to setup a Camel routes to work within SMX 4.2 using Camel 2.2
> and having difficulty. I'm able to make it work as stand-alone, but once
> deployed into SMX, I get issues. As simple test, just routing messages from
> folder into OracleAQ.
>
> PLEASE HELP.
>
> All input is appreciated.
>
> Regards,
> Hossein
>
> -----------Error message:
> The bundle could not be resolved. Reason: Missing Constraint:
> Import-Package: oracle.jms; version="0.0.0"
>
> -----------Camel Context:
>    <bean id="oracleQueueCredentials"
>
>
> class="org.springframework.jms.connection.UserCredentialsConnectionFactoryAdapter">
>        <property name="targetConnectionFactory">
>            <ref bean="aqConnectionFactoryQueue"/>
>        </property>
>        <property name="username">
>            <value>theUserNamevalue>
>        </property>
>        <property name="password">
>            <value>thePassword</value>
>        </property>
>
>    </bean>
>            <bean id="aqConnectionFactoryQueue"
> class="oracle.jms.AQjmsFactory" factory-method="getQueueConnectionFactory">
>        <constructor-arg index="0">
>            <value>theUrlInfo</value>
>        </constructor-arg>
>
>        <constructor-arg index="1" type="java.util.Properties">
>            <value/>
>        </constructor-arg>
>    </bean>
>
>    <bean id="oracleQueue"
> class="org.apache.camel.component.jms.JmsComponent">
>        <property name="connectionFactory" ref="oracleQueueCredentials"/>
>    </bean>
> --
> View this message in context:
> http://old.nabble.com/ServiceMix-4.2%2C-Camel%2C-OracleAQ-tp28562653p28562653.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>

Reply via email to