Questions tagged [hornetq]
HornetQ is an open source asynchronous messaging project from JBoss.
614
questions
0
votes
1
answer
31
views
JBoss 7.4 ActiveMQ Artemis Queue Can't binding to a specific JNDI name
I'm working on a JBoss migration from EAP 6.4 to 7.4.
One of the issues found is the replacement of HornetQ with ActiveMQ Artemis version 2.16.0.redhat-00022. My issue in specific is the JNDI binding ...
0
votes
1
answer
96
views
ParseError using JGroups for HornetQ in WildFly 9
Currently I am using WildFly 9. We are trying to configure TCP-based load sharing with HornetQ. We have use JGroups for dynamic discovery, and we have added following setting in our standalone ...
0
votes
1
answer
119
views
the hornetq libraries aren't loaded
when I start my jboss I read in my console:
HornetQAIO64 -> error loading the native library:
java.lang.UnsatisfiedLinkError: no HornetQAIO64 in java.library.path
no HornetQAIO in java.library....
3
votes
1
answer
296
views
Connection refused when HornetQ runs in Docker
I'm testing a very simple scenario, I'm running the test located under examples/jms/queue on a standalone server running locally on my computer with success. Running the same on a dockerized HornetQ 2....
0
votes
1
answer
92
views
JMS-bridge configuration not sharing a load on both hornetQ server
I have tried to configure HornetQ server-side load-balancing using JMS bridge. I am using Wildfly 9, and I have done following configuration on standalone-ha.xml file but it is not sharing load ...
0
votes
0
answers
81
views
HornetQ clustering not sharing a load between servers
I have tried to configure HornetQ server-side load-balancing using clustering. I am using Wildfly 9, and I have done following configuration on standalon-ha.xml file but it is not sharing load between ...
-1
votes
1
answer
133
views
How to publish JMS message concurrently in one connection
I want know how to publish JMS message concurrently to different topic.
Example:
1 thread to publish JMS message to topic X,
1 thread to publish JMS message to topic Y periodically (let say every 5 ...
1
vote
0
answers
86
views
Issue sending message to HornetQ via load balancer in WildFly
We are using wildfly 9.0.1 and load balancer Kemp LoadMaster Version 7.2.48.1.17992.RELEASE.
We have used HornetQ in WildFly without clustering.
We are sending a message in hornet queue via an ...
0
votes
0
answers
43
views
How should I set up WildFly to access (PUT/GET) standalone HornetQ?
We are developing a system to access the HornetQ (standalone) queue that runs in a different process from the EJB application that runs on WildFly 21.
What settings does WildFly need in this case?
...
0
votes
1
answer
969
views
JMS Session Creation Failure
In a JBOSS EAP 7.3 highly transactional application we encounter the following exception when data load increasingly.
Caused by: javax.ejb.EJBException: javax.jms.JMSException: Could not create a ...
0
votes
1
answer
98
views
Is that possible to communicate JMS Topic of HornetQ with ActiveMQ or vice versa
I have a HornetQ project on JBoss 6 using JDK-6, and an ActiveMQ project on WildFly 18 using JDK-11. Can I access the HornetQ topic in the ActiveMQ project or vice versa?
-1
votes
1
answer
137
views
JBoss HornetQ/ActiveMQ Artemis saving queue message to file system
Can someone please help me in understanding the impact of saving Hornetq/ActiveMQ Artemis messages to the file system and bypassing the queue every time?
The message is more than 2GB, and I run into ...
0
votes
1
answer
47
views
How to enable Multiple buffer channel in HornetQ
I am working on a app which has a lot of asynchronous messages hosted by HornetQ 2.3.21. By some process my message size goes more than 2GB and the message starts failing with this message on the ...
1
vote
1
answer
276
views
ActiveMQ Artemis upgrade question: HornetQ to Artemis 2.0
I have been upgrading an old HornetQ project to Artemis and I ran into some issues with the JMSServerControl. My original code looked like this.
final ObjectName on = ObjectNameBuilder.DEFAULT....
0
votes
0
answers
151
views
Read large message file (*.msg) stuck in HornetQ
I am working on a app which has a lot of asynchronous messages hosted by HornetQ 2.3.21. By some process my message size goes more than 2GB and the message starts failing with this message on the ...
0
votes
1
answer
162
views
Queue lookup in JBoss EAP 6.4
My connection factory:
<connection-factory name="InVmConnectionFactory">
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
...
0
votes
1
answer
201
views
Getting Error when starting HornetQ server
I'm learning Spring from the book "Pro Spring 5". In the current chapter we have to use HornetQ as the message broker. I downloaded HornetQ files and in C:\Users\User\Downloads\hornetq-2.4.0....
0
votes
1
answer
684
views
Spring Boot ActiveMQJMSConnectionFactory to connect to a JBoss EAP 6.1 HornetQ
I'm not sure if what I'm trying to do is possible but basically I'm trying to update the current implementation from HornetQ to ActiveMQ making use of Artemis.
My system is a JMS consumer from the ...
0
votes
1
answer
63
views
Share datafiles between two Docker containers running HornetQ
I have two instances of HornetQ, one that is meant to be called by the intranet to publish data, and one that is meant to be called from the internet, to read data.
Since I'm forced to specify a rmi ...
0
votes
0
answers
28
views
JBOSS JMS subscriber receiving messages with wrong selector
we use the below pseudo implementation for message synchronization between nodes in our Jboss clusters.
Pseudo-code is as follows-
void someMethod() {
Topic topic = (Topic) context.lookup(topicName);...
1
vote
1
answer
231
views
ActiveMQ Artemis Client libraries with HornetQ server
Is it possible to connect to HornetQ server using ActiveMQ Artemis client libraries (1.5.x or 2.x)?
0
votes
2
answers
103
views
Hornetq server is not starting from command line
I downloaded HornetQ for a JMS 2.0 application and extracted on Windows. Inside HornetQ there is the bin folder. In the bin folder There are .bat files that can start and stop server and it works. If ...
-1
votes
1
answer
103
views
Performance issue when upgrading from HornetQ to Artemis ActiveMQ
Has anyone experienced performance degradation when upgrading from HornetQ to Active Artemis? I'm working on a system that upgraded from HornetQ 2.4.5.Final to Artemis 2.10.0 and am seeing a ...
0
votes
0
answers
136
views
Kubernetes hornetq issue
I have dockerized a hornetq server that receives/serves data from 60 queues and 20 topics. While as a docker plays perfectly, as a kubernetes deployment there are problems after 2-3 hours.
Logs on ...
0
votes
1
answer
86
views
JBoss EAP 6.4.2 is not listening from multiple remote servers
I am having a problem setting MDB to listen to multiple remote servers on JBoss EAP 6.4.2 with Windows OS. When I set 2 servers to listen on connectionParameters it's getting messages from only one of ...
0
votes
1
answer
1k
views
How do I log or monitor JMS messages placed on a queue?
We are on JBoss EAP 6.4.
There is a JMS queue that has a consumer who immediately consumes everything that is placed to the queue.
I want to check what is placed to the queue but for my tool (Hermes ...
2
votes
0
answers
199
views
Understanding remote JMS connections within JBoss EAP 6.4 (HornetQ)
We have some issues with too many TCP connections in our environment so we are trying to limit as many connections as possible. Therefore, I've set the activation configuration property maxSession to ...
1
vote
1
answer
234
views
How to specify a local custom SSL truststore for Hornetq client when connecting via JNDI naming server
We have a java client (mule app) which is using hornetq client (v2.3.25.SP20) for connecting to the HornetQ remote server via the JNDI naming server (port 1099).
The connection is secured with SSL. ...
0
votes
1
answer
341
views
ClassNotFoundException org.hornetq.jms.client.HornetQTopic
I'm trying to use http-remoting from a Java client with a remote wildfly 9. This always results in the ClassNotFoundException.
This is my pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"...
0
votes
0
answers
591
views
HornetQ consumer does not receive message if one of the message process took longer time
I am working on a live Production issue with HornetQ Queue issue.
Following is the stack for my application
Wildfly 9.0.2
HornetQ 2.4.7
Spring 4.3
I am using netty connection for hornetq, in ...
1
vote
1
answer
454
views
Removal of hornetq journal files in JMS
I know there is a similar question asnwered already, but I would need some clarification on the case.
I'm sorry if I bring up this rather old topic, but that question is the only hook I find in the ...
1
vote
1
answer
1k
views
JMS connection from spring-boot application to JBoss EAP6 HornetQ Topic failed
I have a spring-boot application (1.5.14) that should read from
a HornetQ JMS Topic provided by a legacy JBoss EAP 6.4
I know that support for HornetQ has been deprecated since spring 1.4.8.
But for ...
0
votes
1
answer
240
views
Paginating JMS Queue
In my Java EE application I use JMS to store some messages. I want to display these messages in a JSF paginated table. How can I get the messages from the queue in batches? For the moment I'm using ...
0
votes
1
answer
579
views
JBoss EAP 6.4 clustering in HornetQ although they are in different box
I have 2 different boxes in my configuration. And each box contains 2 instances of JBoss EAP 6.4 . I am using stanadalone-full-ha.xml configuration for all instances.
I start 2 instances in 2 ...
1
vote
2
answers
569
views
Spring JMS HornetQ user is null
I am trying to connect to a remote HornetQ broker in a spring boot/spring jms application and setup a @JmsListener.
HornetQ ConnectionFactory is being fetched from JNDI registry that HornetQ ...
0
votes
1
answer
487
views
Unable to read messages from HornetQ queue in springboot application
I am trying to setting up consumer with springboot but getting a difficulty. I have seen an example configuration of JMS Consumer setup and did the same but somehow consumer is not setting up properly ...
0
votes
1
answer
266
views
MessageListener stops listening to HornetQ Queue
The following issue is impairing my production system. So i have multiple MDB's packaged as EAR, WAR applications and are deployed in JBOSS. When there is considerable amount of traffic in my website ...
0
votes
1
answer
65
views
Acknowledged messages are redelivered when crashed core client reconnects
I have setup a standalone HornetQ instance which is running locally. For testing purposes I have created a consumer using the HornetQ core API which will receive a message every 500 milliseconds.
I ...
0
votes
1
answer
85
views
HornetQ local connection never timing out
My application, running in a JBOSS standalone env, relies on a HornetQ (v2.2.5.Final) middleware to exchange messages between parts of my application in a local environment - not over the network.
...
0
votes
1
answer
137
views
hornetq fails when we change system time
I have an issue and I hope you can help me a bit.
I have to implement fast forwarding time, because I need to test something. I've wrote a python script which increment the system time with 5 seconds ...
0
votes
1
answer
914
views
HornetQ vs. Artemis ActiveMQ diverts
I'm migrating a messaging application from EAP6 to EAP7. This required me to migrate from HornetQ to Artemis. I found an apparently undocumented change: diverted messages (non-exclusive) in HornetQ ...
2
votes
1
answer
722
views
How to call operations on JMS temporary queue from JBOSS CLI
I am trying to call operations such as listDeliveringMessages() on a temporary Queue (say fe517553-6c53-42d6-8aaa-d8ea154fd8b0), created by a jms.Topic in JBoss 6.4.0.GA EAP / 7.2.x. I need to do that ...
0
votes
1
answer
218
views
Start JBoss EAP server with paused queue
I have implemented a JMS based application relying on JBoss EAP 6.3 HornetQ. I have several queues, but I need one of them to be "paused" by default (at server startup), unless I explicitly resume it.
...
1
vote
1
answer
753
views
JBoss 7 (EAP 6) CLI configuration: 'queue-address' is not found among the supported properties: [selector, entries, durable]
I am on JBoss EAP 6 and my task is to migrate a server to the Cloud.
I get JBoss to start, but then some queue fails with:
[echo] try to connect to local JBoss...
Checking for listener at 127.0....
0
votes
1
answer
414
views
How can persistent JMS message survive if listener shut down
i have a topic and i post a message to the topic note: I stopped all JMS queue listeners.
Now i restart the server now this time with listeners on, i was expecting the system to consume my previously ...
2
votes
1
answer
156
views
How to reject messages greater than 100 MB HornetQ
We would like to reject the messages being placed in hornetq greater than 50 MB.
Could we restrict it in the configuration at queue/connection factory level.
Placing large messages in HornetQ is ...
0
votes
1
answer
524
views
jboss 6 remote jms bridge configuration not working
I have to push messages from one jobss server and consume from another jboss server. For that I used jms bridge.
Added jms bridge configuration under </hornetq-server> tag in
standalone-full.xml ...
0
votes
1
answer
673
views
Doesn't work rollback() in SessionAwareMessageListener
Even though the message is received by the MessageListener, I don't want to remove from the Queue, I want to do some processing in onMessage method and based on the result:
I want to commit(); for ...
0
votes
2
answers
102
views
How to stop HornetQ from attempting re-delivery
I have a java client that processes messages from HornetQ. The processing may fail due to temporary network problems, which I handle by throwing an exception and configuring the queue to attempt re-...
2
votes
1
answer
103
views
HornetQ - how to send and convert POJO
I'm using HornetQ in embedded mode.
I'm trying to send from Publisher to Consumer a POJO object:
public class Pojo implements Serializable {
private Integer id;
private String name;
...