can you check the logs about MySonicAdapter and ResourceAdapter (Default
JMS Resource Adapter)? You should see which one is used in the logs normally


Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> |  Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
<http://www.tomitribe.com>

2015-09-28 16:33 GMT-07:00 dimas <[email protected]>:

> Figured out the how to use ConnectionFactoryProperties (capital first
> letter
> for property name and no spaces), so no jndi is requitred:
>
> ConnectionFactoryProperties =
>
> ConnectionURLs=tcp://dev.test:10400,DefaultUser=user1,DefaultPassword=passw1
>
> Can send messages now, trying to set up MDB in tomee.xml with this block
>
> <Container id="MyJmsMdbContainer" ctype="MESSAGE">
>         ResourceAdapter = MySonicAdapter
>     </Container>
>
> Getting this exception:
>
> Caused by: javax.resource.ResourceException: ResourceAdapter is not of
> type:
> org.apache.activemq.ra.MessageResourceAdapter
>         at
>
> org.apache.activemq.ra.ActiveMQActivationSpec.setResourceAdapter(ActiveMQActivationSpec.java:243)
>         at
>
> org.apache.openejb.core.mdb.MdbContainer.createActivationSpec(MdbContainer.java:240)
>         ... 66 more
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Connect-to-external-non-ActiveMQ-JMS-server-tp4676331p4676363.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to