activemq


Can message we are pushing to a Queue be moved to Active MQ Dead Letter Queue (DLQ) if any exception/connection error occur?


i am using Spring JmsTemplate for sending/pushing message to ActiveMQ queue.
i know after listener start processing that message and any exception occur,that message will be considered as a poison pill and moved to default DLQ of acive mq.
is that same possible (i.e. that message will move to default Dead Letter Queue ) while sending/pushing that message to Queue if there is any connection error or any other error occured while sending?
for example -
public void push(){
jmsTemplate.send(test.Queue, "This message is from client");
//if any exception occur here,i want this message to be placed
in DLQ
}
please suggest is it possible?
If you can't connect to send it the main queue, you probably can't connect to send it to the DLQ either.

Related Links

ActiveMQ forwarding bridge with failover
ActiveMQ - How to remove messages from kahadb db.data file
ActiveMQ - How to set max size of kahadb db.data file
activemq delete consumed messages
nmap ActiveMq issue
activemq where is the destinations tag?
ActiveMQ security plugin based on relational database
ActiveMQ as a data-logger
Five second wait in activemq cms MessageProducer.send with zookeeper
Use ActiveMQ JAR with an older broker
c code for MQTT Connect API
ActiveMQ scheduled messages in master-slave
View delayed messages in ActiveMQ?
using stomp in activeMQ with tomee
How can I disable embedded ActiveMQ-broker in ServiceMix?
Can I delete a message from a queue of ActiveMQ in c# code?

Categories

HOME
entity-framework
matrix
yaml
d3.js
ews
liferay-7
iptables
turbojpeg
google-search-console
jpa-criteria
slide
amazon-emr
rangy
clish
multi-step
amazon-elb
distributed-computing
xbox360
temperature
phonegap-build
user-defined-types
spam
bazaar
spring-shell
data-type-conversion
quartz.net
tracing
python-appium
tf-idf
gravity-forms-plugin
laravel-4.2
ninject
tsung
bitbake
locks
matlab-app-designer
instructions
mapnik
commonsware-cwac
seafile-server
listjs
cloudera-manager
grails-2.5
ftp-server
llvm-ir
aurelia-http-client
sbjson
data-uri
flipkart
dbcc
julius-speech
sendinput
wysihtml5
roracle
xcglogger
node-apn
winston
visual-format-language
sigsegv
htmlspecialchars
glassfish-4.1
.when
nrf51
nitrousio
gawk
cefpython
thread-exceptions
openquery
jpda
jenkins-workflow
conan
dojo-build
wicked-pdf
vaadin4spring
textblock
gravatar
okta-api
boost-proto
ibm-was
dnx50
gluon-desktop
hmisc
fantom
algebraixlib
mutators
comctl32
device-admin
mobile-country-code
lmax
visual-c++-2012
air-native-extension
map
gprof
email-verification
jquery-dialog
spark-view-engine
msinfo32
platform-independent
sigar
database-deadlocks
fork-join
nosetests
cleartype
source-code-protection
datagridcolumn

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App