-
Is it safe to reuse messages without calling Reset()?
Suppose I have a Publisher class which encapsulates the details of the solace broker. For any given application, it will receive an instance of a Publisher for a given topic to which it wants to send guaranteed messages. This means that the IMessage properties Destination and DeliveryMode are guaranteed to be constant for…
-
External Linking two standard Event Brokers results in "Neighbor HandShake Failed"
I'm trying to connect two PubSub+ Standard event brokers running in docker containers. This is the docker run command used: docker run -d --privileged -p 8080:8080 -p 55555:55555 -p 55003:55003 -p 8008:8008 -p 1883:1883 -p 8000:8000 -p 5672:5672 --shm-size=2g --env username_admin_globalaccesslevel=admin --env…
-
Transactions not supported
Hi, I'm actually a newbie to AMQP and Solace. I have questions regarding a issue publishing message using "AMQP 1.0 library for .Net" to Solace. i) I kept getting "Transactions not supported" when I try to publish message in a transaction scope. May I know if this is an expected exception? The Solace's AMQP 1.0 conformance…
-
Java RTO Issue - solclient_jni.dll: Can't find dependent libraries
Hi Team , While trying to Run Java RTO Sample through Eclipse I am getting Exception solclient_jni.dll: Can't find dependent libraries
-
Handling failures of ISession.Connect with .NET API
There is a comment in the ISession documentation for .NET of "Connect and disconnect on demand" but no more detail on that. Currently our app has: * Code at service startup to initialise Solace, create session, call ISession.Connect() * Additional threads utilising that ISession to create guaranteed message flows etc. The…
-
Mechanics of guaranteed publish callbacks when using batched send
Suppose I am publishing guaranteed messages. I build a buffer of 50 messages and use the Send(IMessage[]...) method to send all of them at once. I have a few questions about message acknowledgement: 1. Will I receive 50 acknowledgement events, or just one? 2. If I receive 50, are they guaranteed to come back in the same…
-
.NET best practices for lifetimes/instancing of context/session?
We are looking to add Solace support for publishing/receiving from Solace Topics & Queues to our existing .NET C# codebase that already handles MSMQ and MQ. One thing that I have not come across in the documentation / examples is how we should be instancing the IContext and ISession - the code examples simply create one of…
-
Issue with Bind count on a RDP queue
we have a Queue Q1 which is bindind to a Restdelivery point.the consumer here is a some hostname:port. Ideally the bndcount for queue Q1 should be one, as we have binded it to restdelivery and subscriber will be the consumer. but we recently observed that the bind count is 2, whe we see the client details conencted to…
-
How to see published messages
No formatter is installed for the format not-found
-
Pubsub+ in docker - cannot open admin console on web browser after creating pubsub+ container
Hi, I am testing pubsub+ in docker that I pull from docker hub after that running docker container and open port for admin as well. But when I try to access admin console from http://localhost:8080, it's nothing happen. So what should I check first to get the issue? Thanks in advance. Lukman
-
replay of message by clinet using JS web messaging API
I tried repalying the message using the messagereplay.html file. [17:17:56] Starting message replay for queue: TQUEUEREP1 [17:17:56] === Error: the message consumer could not bind to queue "TQUEUEREP1" === Ensure this queue exists on the message router vpn The queue exists on the router, i tried another queue as well, it…
-
Executing timed publisher retransmission
Hi, During a failover scenario from Primary to Standby (Solace processes are killed using kill -9), below statement is getting logged in Producer logs. Also, Primary's processes are restarted automatically after 20 seconds. Log entry: "Executing timed publisher retransmission." Could someone please help me understand the…
-
Replay option in cloude pub sub+
Hi, I'm exploring pub sub+ features deployed and provided from solace cloud. Replay option is not configured on cloud. So is this expected error with trail one? observed N/A in message-vpn summary page too. Any future ammend will allow this with trail one :) Error: Replay log is not configured and you do not have…
-
AMQP endpoint with spring solace starter configuration
Hello, I'm using the starter "com.solace.spring.boot:solace-jms-spring-boot-starter:3.2.1" in my spring managed project. I want to use the protocol amqp over JMS but when I configure the server host to: solace.jms.host: amqps://localhost:5671 (instead of tcp://localhost:55555) This does not works and I got the error:…
-
Replay feature in solace pub sub
I am Explorign the replay fetaure in solace pubsub+. when replay is enabled on a VPN we have two queues created.#REPLAY_LOG_ReplayName and #REPLAY_TOPICS_ReplayName. the messages are spooled to REPLAY_LOG and the when i replay the messages are coming from that log. what is the use of REPLAY_TOPICS? where do we use them? I…
-
Receiving of messages on single queue with multiple consumers
Hi we have a project which is using solace queue and has 3 consumers after it was deployed. If the messages comes on that queue expected order of receiving is Message1--Q1 Message2--Q2 Message3--Q3 If lets say the Message1 is not acknowleded, how the messages are processed, does the message 2 goes to Q2 or Q1. we observed…
-
Checking payload with Json schema
Hi ! In the Event Portal I can associate a Json schema for checking the payload of an incoming event. I'm wondering how to do this when using Spring cloud streams messaging with the Solace binder in a Docker environment. Is there an example available ? BR Gerhard
-
SPLUS - GitHub project - SDK to efficiently manage Solace PubSub
Solace PubSub+ SDK (splus) is an SDK kit that allows the management of Solace PubSub+ Brokers. While there are already so many ways of managing the broker, the motivation for this project is: * simple way to integrate with CI/CD scripts * reasonable defaults for easing the administration activities, especially for those…
-
Regarding difference b/w Message Id and ApplicationMessageID
Hi, When publishing message via C api, i need to manually set ApplicationMessageId inorder to see JMSMessageID value. I was thinking this would be set automatically when publishing as when subscribing to queue i can see Message ID getting dispalyed? What is the difference b/w these two and how can i set…
-
Regarding setting JMSProperties with the help of solclient C api
Hi, Please let me know how can i set the JMSProperties to value (other then NULL ) via solclient C api, as presently i'm using solclient_msg_setXML for setting the Payload as XML, but the JMSProperties still has NULL e.g. below message with JMSProperties NOT NULL JMSDeliveryMode:2,JMSDestination:Topic…
-
solace spark monitoring
Hi All, I am using spark streaming with solace. Data is consumed from solace using custom streaming job. Now I have to build a monitoring job which will publish stats around the topic i.e. number of subscriber, number of messages received with granularity and alerts if any goes wrong. Can Anyone guide me the right…
-
Regarding getting messageID via solClient_msg_getApplicationMessageId
Hi, Is it possible to get the ApplicationMessageId when publishing the message via fun call solClient_msg_getApplicationMessageId? When publishing i'm trying to get messageId just after fn call solclient_msg_alloc() but i get NULL MessageID. Any pointers how to use it? Regards Amol
-
Regarding setting JMSMessageID with solclient C api
Hi, Is it possible to call / set JMSMessageId with the help of solclient C api? Or can i intgerate JMS api in C code to set JMS realted headers when sending message (via solclient C api)? Need help on this urgently. Regards Amol
-
SSL certificate
How many certificates are required for solace ssl certificate authentication for both Cloud and On_premise setup? Please share the steps.
-
Solace Failover
I am using solace topic to send my message and session property in host has multiple comma separated ips (ip1:port1,ip2:port2).So in case of failover how do I know which IP I have connected to,i.e. which IP my message is sent to ?
-
Is timeout possible for subscriber to exclusive queue?
I'm looking for a way to timeout a stuck or stopped, not terminated subscriber to an exclusive queue on a VMR. What I've set on the session so far seems like not be sufficient: JCSMPProperties.MESSAGE_CALLBACK_ON_REACTOR, true MESSAGE_ACK_MODE, JCSMPProperties.SUPPORTED_MESSAGE_ACK_CLIENT…
-
Noticeable negative impact from creating Message-VPNs
Hi All, I am trying to understand if creating VPNs have negative impact on the Solace infrastructure. What should I be worried in a Shared Solace environment w.r.t VPN's
-
AMQP Usage
If I want to set application property while sending data to solace using AMQP what would be the syntax ? This is for REST : Solace-User-Property- what would be the equivalent for AMQP ?
-
How to setup public ssh keys on Solace container?
Hello! I am trying to setup ssl on my Solace Pub/Sub+ instance on aws. The instructions say you need to use sftp or scp to transfer the certificate(s) from another machine. The only way I seem to be able to authenticate with external machines for sftp/scp is via public ssh key - but, the only ways to get a public key into…
-
Error with Client Certificate Authentication
Hi, I have enabled authentication for message-vpn to be client-certificate by following the instruction on the docs page. # commands usedenableconfiguremessage-vpn <vpn_name>authenticationclient-certificatevalidate-certificate-dateallow-api-provided-usernameno shutdown While using SDK Perf to test the SSL connectivity,…