I added to activemq.xml a new transportConnector
http://0.0.0.0:64646?maximumConnections=1000wireFormat.maxFrameSize=104857600"/>
What more do I need.
The intent is to have AMQ HTTP server receive the POST message from client
and publish the message as a JMS message to subscribers.
The developer who setup the server (enabling HTTP support) is not available.
Is there a good example of XML changes to enable the ActiveMQ HTTP support?
I have a simple local server (no xml changes) that I could test from.
THANKS!!!
--
View this message in context:
We have set up HTTP server on AMQ instance.
Writing client that POSTs request URI: test/foo
Get the following Response: HTTP/1.1 404 Not Found
Does the Server NEED to have the URI predefined ???
If not, I don't understand the response error.
Error 404 Not Found
HTTP ERROR: 404
Problem
We have a network of brokers say broker chain B1,B2, B3. When client
subscribes (B1) to a topic T1.T2.T3 and the publisher publishes to that same
topic (B3) the client receives that published message. But if the client
subscribes to T1.T2.* then the client does not receive that published
message.
For the ActiveMQ servers: Primary (localhost:61616) and Backup
(localhost:61617) (for CMS clients) are there any changes needed in the
server activemq.xml.
When I use CMS (C++) client with the following config:
failover:(tcp://localhost:61616,tcp://localhost:61617)?randomize=false
The
So for the servers (primary, backup) I don't need any key=value pairs?
For Primary:
transportConnectors
transportConnector uri=tcp://0.0.0.0:61616/
/transportConnectors
For Backup:
transportConnectors
transportConnector uri=tcp://0.0.0.0:61617/
I'm using the following client configuration :
failover:(tcp://primary:61616,tcp://secondary:61616)?initialReconnectDelay=3000maxReconnectDelay=2000randomize=falsestartupMaxReconnectAttempts=10
When we publish a message we see the message being published to both primary
and secondary servers by
There were no topics when the clients started.
At startup the primary has consumers but secondary does not.
For each publish request the numbers of Enqueued message values increase on
both primary and secondary servers.
I'm using the randomize=false option, so what is causing secondary to even
be
The Web Admin console for each server (primary and backup) identifies all the
topics/Number of Consumers/Enqueued Messages/Dequeued Messages.
What about the randomize=false option? Shouldn't that disable secondary?
thanks !!
--
View this message in context:
Is there an issue of mixing wireFormat.x with non wire format
configuration items for client failover connection transport options?
ActiveMQ NMS fails when User/Password is required. ActiveMQ with JAVA works
with same URL/user/pwd.
Uri connecturi = new Uri(url);
IConnectionFactory factory = new
Apache.NMS.ActiveMQ.ConnectionFactory(connecturi);
connection =
I downloaded the most recent NMS ActiveMQ (1.6.2) and got this error after
running the code:
System.IO.IOException was unhandled by user code
HResult=-2146232800
Message=The operation is not allowed on non-connected sockets.
Source=System
StackTrace:
at
Jim,
Thanks...
What do you use for the connectionID? Will null work?
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-NMS-Fails-when-User-Password-Required-tp4681728p4681735.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
I'm unable to use failover when connecting with ssl
This works: ssl://localhost:61616?transport.acceptInvalidBrokerCert=true
This does not work:
failover:(ssl://localhost:61616)?transport.acceptInvalidBrokerCert=true
This does not work:
From article by Tim Bish I was able to use the following client config
settings:
ssl://localhost:61617?transport.acceptInvalidBrokerCert=true
Currently it won't work without the transport setting..
I need to make this more secure (i.e. not accept invalid Broker)
Thanks
--
View this message
Should this work? (removing the transport) with a valid certificate?
From:
ssl://localhost:61617?transport.acceptInvalidBrokerCert=true
TO:
ssl://localhost:61617
I'm concerned that the transport.acceptInvalidBrokerCert=true is not
secure
Thanks
--
View this message in context:
Is there any thing special that has to be done (configuration, code, etc..)
to allow Java talk to C# NMS ActiveMQ?
thanks
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Will-JAVA-ActiveMQ-talk-to-NMS-ActiveMQ-tp4663996.html
Sent from the ActiveMQ - User mailing list
The links to the NMS api are broken...
Could someone provide a valid link??
thanks
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-NMS-API-Location-tp4663581.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
I have an IMapMessage and want to retrieve all message body key/value pairs.
I don't know the types of data.
IMapMessage message = ..
foreach (string key in message.Body.Keys)
{
??? HOW TO GE THE VALUE -- NOT KNOWING THE TYPE OF DATA???
}
Thanks
--
View this message in
Trying to add a byte[] as an item in an IMapMessage...
IMapMessage message = producer.getSession().CreateMapMessage();
string sval = STRANGE BYTES FROM WORD DOC:
üøôðôìèìäôìàìÜìÜìÜìÜàìàØàìÔÐÔÐÌÈÌÐ;
byte[] bytes = Encoding.UTF8.GetBytes(sval);
message.Properties.SetBytes(TEST-ByteArray, bytes);
I have applications that require .NET Framework 2.0, the ActiveMQ DLL's that
I got require .NET Framework 4.0. Is there an NMS ActiveMQ .NET Framework
2.0 version available?
thanks
--
View this message in context:
I have a MessageConsumer and use the MessageListener. I need to be able to
cancel/stop that listener.
Any suggestions??
thanks
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Stoping-MessageListener-tp4662529.html
Sent from the ActiveMQ - User mailing list archive at
None ot those suggestions work. I'm running in NetBeans... here is the
code...
public class MyFirstActiveMqQueue {
private static ActiveMQConnectionFactory connectionFactory;
private static Connection connection;
private static Session session;
private static Destination destination;
I need binaries for Windows 7, XP and Linux platforms. Needed for ActiveMQ
CMS and NMS.
I could not find these.
Thanks
--
View this message in context:
http://activemq.2283324.n4.nabble.com/ActiveMQ-CMS-NMS-etc-Binaries-tp4660676.html
Sent from the ActiveMQ - User mailing list archive at
24 matches
Mail list logo