activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Shannon <christopher.l.shan...@gmail.com>
Subject Re: com.sun.messaging.ConnectionFactory and ActiveMQ
Date Thu, 15 Oct 2015 10:31:48 GMT
That connection factory won't work with ActiveMQ, you need to use the
ActiveMQConnectionFactory. See
http://activemq.apache.org/maven/apidocs/org/apache/activemq/ActiveMQConnectionFactory.html

You can see an example of its usage here
http://activemq.apache.org/hello-world.html.

On Wed, Oct 14, 2015 at 11:39 AM, gerardl <ger.lawlor@gmail.com> wrote:

> Can I use the com.sun.messaging.ConnectionFactory to connect through JMS to
> ActiveMQ?
>
> When attempting this I get the following error:
>
> [C4003]: Error occurred on connection creation [localhost:61616]. - cause:
> java.lang.NumberFormatException: For input string: "   ?☺ActiveMQ
>
> Are there specific settings to be configured on
> com.sun.messaging.ConnectionFactory before it will communicate properly
> with
> ActiveMQ?
>
> Thanks,
> Ger.
>
>
>
> --
> View this message in context:
> http://activemq.2283324.n4.nabble.com/com-sun-messaging-ConnectionFactory-and-ActiveMQ-tp4702958.html
> Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message