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 view raw message data in web console
ActiveMQ 5.5: Not able to get the DLQ_DELIVERY_FAILURE_CAUSE_PROPERTY value
How do I specify the JMX port for an embedded activemq instance?
How do I ensure a topic is removed from an ActiveMQ broker
Why would I use Apache ServiceMix over just ActiveMQ
How to set the ActiveMQ redeliveryPolicy on a queue?
Apache Camel inOut routes, out exchange marshaling/unmarshaling with jaxb
STOMP Protocol - Session ID Questions
What solution should I use for this webapp with websockets. ActiveMQ?
NIO disadvantages in ActiveMQ
How can I programatically purge an ActiveMQ queue using the Apache.NMS API?
Using Camel to transparently log messages from queue
ActiveMQ and JMS : Basic steps for novice
URL Encoding a Camel Exchange Body
Where can I download ActiveMQ Source Distributions?
activemq embedded broker

Categories

HOME
hpoo
extjs
artificial-intelligence
class
yaml
key
transactions
kivy
openflow
supercollider
save
joomla3.2
graphdb
chromecast
smooks
orc
grocery-crud
sql-injection
distributed-computing
squid
sonicwall
xsl-fo
deepfreeze
android-custom-view
error-logging
candlestick-chart
pubxml
tortoisemerge
cellular-network
javax.persistence
quick-nimble
riotjs
grails-2.5
recovery
selenide
google-now
imgur
classnotfoundexception
hdiv
raytracing
fiware-wirecloud
kitura
music21
swiperefreshlayout
dynamics-crm-4
word-2016
perl-data-structures
elastic4s
rational-performance-test
msg
meld
gnucash
android-async-http
i2b2
outlook.com
supersocket.net
abstract-factory
sablecc
ssmtp
fiware-bosun
relationships
code-complexity
incognito-mode
jack
profiles
jquery-lazyload
semicolon
cakeyframeanimation
jdom
zotonic
navigationcontroller
affinetransform
kext
3des
chunking
yahoo-maps
.net-client-profile
inversion
downloadfile

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App