When I close the connection using the CMS C++ library, I get six IOExceptions
logged to the debug console of VS2005. These don't seem to cause a
problem, but wondering if I'm forgetting to do something. I am currently
doing it this way:
if (producer!=NULL) {
delete prod
Done, although not sure it was done correctly. Key is AMQCPP-166
nmittler wrote:
>
> Sounds like a bug - mind opening a JIRA issue for this?
>
> Thanks,
> Nate
>
> On Feb 5, 2008, at 12:51 PM, Tom Johnson wrote:
>
>>
>> I was trying to use a map mess
I was trying to use a map message from a C++ program. It appears to send a
message but none of the fields from the map. I tested this by modifying
the vs2005-activemq-example to send a MapMessage in the producer:
MapMessage *message=session->createMapMessage();
I think I finally found a solution. In the ProviderURL of the appender
adding "?wireFormat.cacheEnabled=false" let the log4j JMSAppender talk to an
ActiveMQ topic.
I.e.
log4j.appender.JMS.ProviderURL=tcp://localhost:61616?wireFormat.cacheEnabled=false
--
View this message in context:
http://
It happens every time I've tried it. Not sure if this matters, but I am
using Log4j 1.2.15.
--
View this message in context:
http://www.nabble.com/ActiveMQ-5-and-Log4j-JMSAppender-error-tp14622389s2354p14667052.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
All the client and server jars are from the ActveMQ installation.
Disabling the firewall has no effect on the problem.I've written a test
JMS app that produces and consumes an ObjectMessage in the topic which works
just fine.
Maybe this should be posted in a log4j forum.
Hiram Chirin
I get the following error when attempting to use the JMSAdapter of Log4j to
write the messages to ActiveMQ:
javax.jms.JMSException: Wire format negotiation timeout: peer did not send
his wire format.
at
org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)