activemq


ActiveMq and Oracle AQ bridge error


I am trying to extract messages from AQ into topic in ActiveMq. I followed this instructions: http://activemq.apache.org/jms-bridge-with-oracle-aq.html . But when I started ActiveMQ I got this error:
2015-09-02 12:33:18,269 | WARN | Setup of JMS message listener invoker failed for destination 'event_queue' - trying to recover. Cause: JMS-137: Payload factory must be specified for destinations with ADT payloads | org.apache.camel.component.jms.DefaultJmsMessageListenerContainer | Camel (camel) thread #1 - JmsConsumer[event_queue]
What is the reason for this error and how it can be solved?
Yes, I found solution. So, at first AQ supports messages of the following types:
• RAW Queues • Oracle Object (ADT) Type Queues • Java Message Service
(JMS) Type Queues/Topics
The reason for this error(JMS 137) is the ADT payload is not valid for using with ActiveMq. And if you are planning to make a bridge between ActiveMq and Oracle AQ you should use JMS Types.
The other thing is that I could not find required aqjms.jar, I replaced it with aqapi.jar from jlib directory of my Oracle Client.
Also beans tag attributes should be:
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd">

Related Links

ActiveMQ, STOMP, Java example
ActiveMQ DiscoveryAgent
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

Categories

HOME
php
google-chrome
bots
loopbackjs
bing-search
drag-and-drop
phpmqtt
kurento
sharepoint-online
spring-security-oauth2
siesta
clish
angular4
ex
texas-instruments
rest-assured
jqxgrid
nose
deepfreeze
generator
intel
sipp
tortoisemerge
background-color
tortoisehg
miniprofiler
ibm-connections
microprocessors
envoy
es6-modules
objectmapper
infopath2010
snap-framework
delayed-job
quickcheck
landscape
stackpanel
assert
selenide
morphline
wysihtml5
webalizer
icecast
scala-breeze
openstack-glance
mura
sesame
cocoa-bindings
scheduledexecutorservice
seccomp
declarative
mathnet
html.actionlink
decidable
apache-commons-digester
featuretoggle
apple
erlog
scala-macros
operands
dnsjava
producer
preorder
pacman
sly-scroller
notin
spiral
xmlwriter
system-information
dynamic-c
litespeed
office-automation
canonicalization
jmenu
dip
efs
watchpoint
bindable-linq

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