Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is there any difference between Destination and Connection Factory in JMS API ?

 
Shivom Shukla
Ranch Hand
Posts: 77
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

I am learning JMS and came across these two in Administrative Objects.
Could not find a difference between the two.

Thanks,
Shivom
 
Rob Spoor
Sheriff
Pie
Posts: 20492
54
Chrome Eclipse IDE Java Windows
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A connection factory is just that - a factory for creating connections. A destination is something you send things (messages) to. I can't even see how they are remotely similar. It's like comparing apples with cats.
 
Shivom Shukla
Ranch Hand
Posts: 77
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,

Thanks for the reply.
Shivom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic